Skip to content

pip install labours returns an error #397

@slavaGanzin

Description

@slavaGanzin

python -V
Python 3.12.5

pip 24.2 (python 3.12)

pip install labours
Collecting labours
Using cached labours-10.7.2-py3-none-any.whl.metadata (24 kB)
Collecting matplotlib<4.0,>=2.0 (from labours)
Using cached matplotlib-3.9.2-cp312-cp312-macosx_10_12_x86_64.whl.metadata (11 kB)
Collecting numpy<2.0,>=1.12.0 (from labours)
Using cached numpy-1.26.4-cp312-cp312-macosx_10_9_x86_64.whl.metadata (61 kB)
Collecting pandas<1.0,>=0.20.0 (from labours)
Using cached pandas-0.25.3.tar.gz (12.6 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]
:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
:489: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
Traceback (most recent call last):
File "/Users/slava/work/helpmetest2/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/Users/slava/work/helpmetest2/.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/slava/work/helpmetest2/.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/4w/9vtd0tnn0b322q0pcjsmwcmw0000gp/T/pip-build-env-dwxuvvmb/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/4w/9vtd0tnn0b322q0pcjsmwcmw0000gp/T/pip-build-env-dwxuvvmb/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
self.run_setup()
File "/private/var/folders/4w/9vtd0tnn0b322q0pcjsmwcmw0000gp/T/pip-build-env-dwxuvvmb/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/4w/9vtd0tnn0b322q0pcjsmwcmw0000gp/T/pip-build-env-dwxuvvmb/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "", line 812, in
File "/private/var/folders/4w/9vtd0tnn0b322q0pcjsmwcmw0000gp/T/pip-install-b_n9jimi/pandas_1acb2128c43e411c9a09fb5d8b34c4ef/versioneer.py", line 1440, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/private/var/folders/4w/9vtd0tnn0b322q0pcjsmwcmw0000gp/T/pip-install-b_n9jimi/pandas_1acb2128c43e411c9a09fb5d8b34c4ef/versioneer.py", line 1369, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/4w/9vtd0tnn0b322q0pcjsmwcmw0000gp/T/pip-install-b_n9jimi/pandas_1acb2128c43e411c9a09fb5d8b34c4ef/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions