close

[Solved] “pip install unroll”: “python setup.py egg_info” failed with error code 1

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error “pip install unroll”: “python setup.py egg_info” failed with error code 1 in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How “pip install unroll”: “python setup.py egg_info” failed with error code 1 Error Occurs?

Today I get the following error “pip install unroll”: “python setup.py egg_info” failed with error code 1 in python.

How To Solve “pip install unroll”: “python setup.py egg_info” failed with error code 1 Error ?

  1. How To Solve “pip install unroll”: “python setup.py egg_info” failed with error code 1 Error ?

    To Solve “pip install unroll”: “python setup.py egg_info” failed with error code 1 Error I got stuck exactly with the same error with psycopg2. It looks like I skipped a few steps while installing Python and related packages.

  2. “pip install unroll”: “python setup.py egg_info” failed with error code 1

    To Solve “pip install unroll”: “python setup.py egg_info” failed with error code 1 Error I got stuck exactly with the same error with psycopg2. It looks like I skipped a few steps while installing Python and related packages.

Solution 1

It was resolved after upgrading pip:

python -m pip install --upgrade pip
pip install "package-name"

Solution 2


I got stuck exactly with the same error with psycopg2. It looks like I skipped a few steps while installing Python and related packages.

  1. sudo apt-get install python-dev libpq-dev
  2. Go to your virtual env
  3. pip install psycopg2

(In your case you need to replace psycopg2 with the package you have an issue with.)

It worked seamlessly.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read