setup.py failure
See original GitHub issueProblem
When attempting to install pyusb v1.1.0 as a dependency offline, pip is unable to find a version for installation, which causes the install to fail.
Reproducing error
The following is run under Ubuntu 18.04:
$ python3 -m venv venv && cd venv && source bin/activate
$ python --version
Python 3.6.9
$ pip install -U setuptools pip && pip list
...
Package Version
------------- -------
pip 20.3
pkg-resources 0.0.0
setuptools 50.3.2
$ pip download setuptools_scm pyusb
...
Saved ./pyusb-1.1.0.tar.gz
Saved ./setuptools_scm-4.1.2-py2.py3-none-any.whl
Saved ./setuptools-50.3.2-py3-none-any.whl
Successfully downloaded pyusb setuptools-scm setuptools
$ pip install pyusb-1.1.0.tar.gz --no-index -f .
Looking in links: .
Processing ./pyusb-1.1.0.tar.gz
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /home/user/venv/bin/python3 /home/user/venv/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-sfmrtu9a/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links . -- 'setuptools>=30.3.0' wheel setuptools_scm
cwd: None
Complete output (3 lines):
Looking in links: .
ERROR: Could not find a version that satisfies the requirement wheel
ERROR: No matching distribution found for wheel
----------------------------------------
ERROR: Command errored out with exit status 1: /home/user/venv/bin/python3 /home/user/venv/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-sfmrtu9a/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links . -- 'setuptools>=30.3.0' wheel setuptools_scm Check the logs for full command output.
Comments
I’m not sure if this is a setuptools_scm
problem or a pyusb
problem, but wanted to bring the issue to your attention as pyusb has switched to setuptools_scm.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
"pip install unroll": "python setup.py egg_info" failed with error ...
Open a command prompt in elevated mode (run as administrator) · Firstly do pip install ez_setup · Then do pip install unroll (It...
Read more >Python Setup.py egg_info Failed with Error Code 1? [Fixed]
What causes the python setup.py egg_info failed with error code 1? According to user reports, the error often occurs when your pip or...
Read more >'Command "python setup.py egg_info" failed with error code 1 ...
The error code 1 is defined as Operation not permitted in python standard errno system symbols. This issue is mostly caused when your ......
Read more >Command "python setup.py egg_info" failed with ... - GitHub
This means that your setuptools are out of date. You can fix this by doing: pip install --upgrade setuptools.
Read more >Fix Command python setup.py egg_info failed with error code 1
Fix Command python setup.py egg_info failed with error code 1 · Check if PIP and Setuptools are installed. · Upgrade PIP and Setuptools...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ap--
Yeah, 3 is probably a good enough solution.
Thanks for looking into this.
That makes sense.
And thank you for looking into this!