You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pip install pyhash
Collecting pyhash
Using cached pyhash-0.9.3.tar.gz (602 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
.../.venv/lib/python3.10/site-packages/setuptools/config/setupcfg.py:520: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
.../.venv/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
error in pyhash setup command: use_2to3 is invalid.
[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.
Install:
$ python -m pip install 'setuptools~=57.5.0'
Success:
$ pip install pyhash
Collecting pyhash
Using cached pyhash-0.9.3.tar.gz (602 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pyhash
Building wheel for pyhash (setup.py) ... done
Created wheel for pyhash: filename=pyhash-0.9.3-cp310-cp310-macosx_12_0_x86_64.whl size=238736 sha256=3da38e69439a77c4b96732c0a5a1c0df6931aeb53107ba2bc11891c330ba76d3
Stored in directory: .../Library/Caches/pip/wheels/ec/fb/f9/713f04bcf2eb9e554d71037af1096c3d0355e8daebd144690b
Successfully built pyhash
Installing collected packages: pyhash
Successfully installed pyhash-0.9.3
The text was updated successfully, but these errors were encountered:
I get the error shown below if I try with setuptools 67.2.0 or 67.6.1 (latest).
Install works if I install setuptools 57.5.0. (Got the idea from https://stackoverflow.com/a/71160711.)
I'm using python 3.10 on OS X Monterey.
=====
Failure:
Install:
Success:
The text was updated successfully, but these errors were encountered: