question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Command "python setup.py egg_info" failed with error code 1 i

See original GitHub issue

Pipenv 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

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:closed
  • Created 6 years ago
  • Reactions:11
  • Comments:32 (20 by maintainers)

github_iconTop GitHub Comments

4reactions
hp98uscommented, Aug 19, 2018

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-install-ZPv0av/cairocffi/

I am facing this issue please help.

3reactions
grisaitiscommented, Oct 23, 2019

@techalchemy how do we get better error logs from this? I’m passing --verbose and still just getting this pipenv.patched.notpip._internal.exceptions.InstallationError with no other output.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found