+4 votes
1 view
in Python by (10.6k points)

I'm new to Python and I want to install some packages with pip.

But pip install unroll gives me:

    Command "python setup.py 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

+6 votes
by (25.6k 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:-

...