Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named setuptools.command.build_clib while installing 1.5.0 #748

Open
rishav-nitdgp opened this issue Jan 13, 2022 · 3 comments
Open

Comments

@rishav-nitdgp
Copy link

change made in "stop using distutils (#727)" causing

[2022-01-12T16:32:58.769Z] Collecting pynacl>=1.0.1 (from paramiko->-r ./requirements.txt (line 6))
[2022-01-12T16:32:59.024Z] Downloading https://repo.lab.pl.alcatel-lucent.com/api/pypi/python/packages/packages/a7/22/27582568be639dfe22ddb3902225f91f2f17ceff88ce80e4db396c8986da/PyNaCl-1.5.0.tar.gz (3.4MB)
[2022-01-12T16:32:59.966Z] Complete output from command python setup.py egg_info:
[2022-01-12T16:32:59.966Z] Traceback (most recent call last):
[2022-01-12T16:32:59.967Z] File "", line 1, in
[2022-01-12T16:32:59.967Z] File "/tmp/pip-build-qsi0m21x/pynacl/setup.py", line 29, in
[2022-01-12T16:32:59.967Z] from setuptools.command.build_clib import build_clib as _build_clib
[2022-01-12T16:32:59.967Z] ModuleNotFoundError: No module named 'setuptools.command.build_clib'

[2022-01-12T16:32:59.967Z]
[2022-01-12T16:32:59.967Z] ----------------------------------------
[2022-01-12T16:32:59.967Z] Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qsi0m21x/pynacl/

@alex
Copy link
Member

alex commented Jan 13, 2022

What version of pip are you using?

@rishav-nitdgp
Copy link
Author

Above error is encountered in pip 9.0.1.

i tried another machine with pip 19.2.3, that one had pynacl 1.3.0 but when i tried installing the latest pynacl, its said -

File "C:\Users\rgarodia\AppData\Local\Temp\pip-install-07aqe1tz\pynacl\setup.py", line 141, in run
  raise Exception("ERROR: The 'make' utility is missing from PATH")

Exception: ERROR: The 'make' utility is missing from PATH

is there any such limitation to have the latest pip version for pynacl ?

@reaperhulk
Copy link
Member

The limitation is that older pip doesn't recognize the abi tags on our wheels. Upgrade to the latest pip and you will very likely get a wheel in both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants