rougier / numpy-100

100 numpy exercises (with solutions)
MIT License
12.17k stars 5.74k forks source link

error with installing requirements #219

Open dasiff opened 4 weeks ago

dasiff commented 4 weeks ago

I tried to install the requirements in a command-prompt and received the following error:

Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [18 lines of output] C:\Users\dasif\AppData\Local\Temp\pip-install-kyujez_f\pandas_c7008c6059444298becd7cdbf2cd9dc3\setup.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\dasif\AppData\Local\Temp\pip-install-kyujez_f\pandas_c7008c6059444298becd7cdbf2cd9dc3\setup.py", line 812, in version=versioneer.get_version(), ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\dasif\AppData\Local\Temp\pip-install-kyujez_f\pandas_c7008c6059444298becd7cdbf2cd9dc3\versioneer.py", line 1440, in get_version return get_versions()["version"] ^^^^^^^^^^^^^^ File "C:\Users\dasif\AppData\Local\Temp\pip-install-kyujez_f\pandas_c7008c6059444298becd7cdbf2cd9dc3\versioneer.py", line 1369, in get_versions cfg = get_config_from_root(root) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\dasif\AppData\Local\Temp\pip-install-kyujez_f\pandas_c7008c6059444298becd7cdbf2cd9dc3\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: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

rougier commented 2 weeks ago

There's no need to install anything unless you want to regenerate every file, but those files are present inside the repository.