Hello,
I am on OSX 14.6 and I am using Python 3.12.6 (main, Sep 6 2024, 19:03:47) [Clang 15.0.0 (clang-1500.3.9.4)] with Matplotlib 3.9.2. I want to install proplot, but I can’t.
I tried
% pip3 install proplot
Collecting proplot
Using cached proplot-0.9.7-py3-none-any.whl.metadata (4.3 kB)
Collecting matplotlib<3.5.0,>=3.3.0 (from proplot)
Using cached matplotlib-3.4.3.tar.gz (37.9 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
<string>:34: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated.
!!
********************************************************************************
Please remove any references to `setuptools.command.test` in all supported versions of the affected package.
By 2024-Nov-15, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
********************************************************************************
!!
Traceback (most recent call last):
File "/Users/ciccio/Documents/learn-matplotlib/path/to/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/ciccio/Documents/learn-matplotlib/path/to/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ciccio/Documents/learn-matplotlib/path/to/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/29/221x_1rx5bbdnmmp2b12_qd80000gn/T/pip-build-env-0laq9yar/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/29/221x_1rx5bbdnmmp2b12_qd80000gn/T/pip-build-env-0laq9yar/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
self.run_setup()
File "/private/var/folders/29/221x_1rx5bbdnmmp2b12_qd80000gn/T/pip-build-env-0laq9yar/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 503, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/29/221x_1rx5bbdnmmp2b12_qd80000gn/T/pip-build-env-0laq9yar/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "<string>", line 54, in <module>
File "/private/var/folders/29/221x_1rx5bbdnmmp2b12_qd80000gn/T/pip-install-iderjgj2/matplotlib_f27088a491ad4857b7d0c468a09045f4/versioneer.py", line 1410, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/private/var/folders/29/221x_1rx5bbdnmmp2b12_qd80000gn/T/pip-install-iderjgj2/matplotlib_f27088a491ad4857b7d0c468a09045f4/versioneer.py", line 1344, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/29/221x_1rx5bbdnmmp2b12_qd80000gn/T/pip-install-iderjgj2/matplotlib_f27088a491ad4857b7d0c468a09045f4/versioneer.py", line 401, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Do you know how to get this to work ?
Thank you