Explore Courses Blog Tutorials Interview Questions
+2 votes
in Python by (10.5k points)

I'm new to Python and I want to install some packages with pip.
But pip install unroll gives me:

Command "python egg_info" failed with error code 1 in C:\Users\MARKAN~1\AppData\Local\Temp\pip-build-wa7uco0k\unroll\

How to solve this?

1 Answer

+4 votes
by (32.3k points)
edited by

According to the Python documentation:

It appears like your setuptools are not installed. Just follow the Installation Instructions from the PyPI website.

If it's already installed, try

pip install --upgrade setuptools

If it's already up to date, just check that the module ez_setup is not missing. If it is missing, then do:

pip install ez_setup

Then try again

pip install unroll

If it's still not working, there may be a possibility that pip didn't install/upgrade setup_tools properly so you might want to try

easy_install -U setuptools

And again

pip install unroll

You can see the following video tutorial to clear all your doubts:-

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Oct 10, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer

Browse Categories