Command "python setup.py egg_info" failed with error code 1 i
See original GitHub issuePipenv install
is trying to install a library on a different python version.
I set pipenv to python 3.4.2 version, however, when I run pip install
I get the following error :
![screen shot 2017-09-10 at 1 54 04 pm](https://user-images.githubusercontent.com/11672878/30251552-891c90fc-962f-11e7-8e86-c8af3caa21ef.png)
And as you can see it’s trying to install a library on python2.7
(default python version).
Steps:
pip install pipenv cd /path-project pipenv --three pipenv install
Got the error
pipenv --version
pipenv, version 6.2.1
Pipfile.lock
{
"_meta": {
"hash": {
"sha256": "664809faca877e7d72716808d6be74ced6c98b258f95e418b5ee4a4b57762626"
},
"host-environment-markers": {
"implementation_name": "cpython",
"implementation_version": "3.4.2",
"os_name": "posix",
"platform_machine": "x86_64",
"platform_python_implementation": "CPython",
"platform_release": "16.7.0",
"platform_system": "Darwin",
"platform_version": "Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64",
"python_full_version": "3.4.2",
"python_version": "3.4",
"sys_platform": "darwin"
},
"pipfile-spec": 3,
"requires": {},
"sources": [
{
"url": "https://pypi.python.org/simple",
"verify_ssl": true
}
]
},
"default": {
....
Issue Analytics
- State:
- Created 6 years ago
- Reactions:11
- Comments:32 (20 by maintainers)
Top Results From Across the Web
How to Fix 'Python Setup.py egg_info' Failed with Error Code 1
One major cause of the command "python setup.py egg_info" failing with error code 1 is due to the missing ez_setup module in your...
Read more >"pip install unroll": "python setup.py egg_info" failed with error ...
Error code 1 is defined in errno.h and means Operation not permitted . About your error. Your setuptools do not appear to be...
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 error code 1 ...
Command "python setup.py egg_info" failed with error code 1 in C:\Users\sanja\AppData\Local\Temp\pip-build-ppc44asr\googleapis-common-protos\ #3884.
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 Free
Top 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
Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-install-ZPv0av/cairocffi/
I am facing this issue please help.
@techalchemy how do we get better error logs from this? I’m passing
--verbose
and still just getting thispipenv.patched.notpip._internal.exceptions.InstallationError
with no other output.