-
Notifications
You must be signed in to change notification settings - Fork 10
Description
When i try to install the PsvWave package using pip, directly from github, or through the setup.py script in the download I get a message that says the installation has failed due to the process of getting requirements to build wheel failing. Is this a new issue or is there an easy fix that I may be missing? Below is an example to the code i run and the output that is provided:
pip install psvWave
Collecting psvwave
Using cached psvWave-1.0.tar.gz (2.2 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
╰─> [31 lines of output]
/private/var/folders/m4/5whf6lrs3hdgj6qq1ydnyshc0000gr/T/pip-install-njt3ac78/psvwave_268277673d7b4cee95e840bbba70010a/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/Library/Frameworks/Python.framework/Versions/3.12/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 "/Library/Frameworks/Python.framework/Versions/3.12/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/m4/5whf6lrs3hdgj6qq1ydnyshc0000gr/T/pip-build-env-bcwgkssk/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/m4/5whf6lrs3hdgj6qq1ydnyshc0000gr/T/pip-build-env-bcwgkssk/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/private/var/folders/m4/5whf6lrs3hdgj6qq1ydnyshc0000gr/T/pip-build-env-bcwgkssk/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 480, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/m4/5whf6lrs3hdgj6qq1ydnyshc0000gr/T/pip-build-env-bcwgkssk/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 127, in
File "/private/var/folders/m4/5whf6lrs3hdgj6qq1ydnyshc0000gr/T/pip-install-njt3ac78/psvwave_268277673d7b4cee95e840bbba70010a/versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/private/var/folders/m4/5whf6lrs3hdgj6qq1ydnyshc0000gr/T/pip-install-njt3ac78/psvwave_268277673d7b4cee95e840bbba70010a/versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/m4/5whf6lrs3hdgj6qq1ydnyshc0000gr/T/pip-install-njt3ac78/psvwave_268277673d7b4cee95e840bbba70010a/versioneer.py", line 342, 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.