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

ere’s a little guide explaining a little bit how I usually install new packages on Python + Windows. It seems you’re using Windows paths, so this answer will stick to that particular SO: I never use a system-wide Python installation. I only use virtualenvs, and usually I try to have the latest version of 2.x … Read more

How can I install pip on Windows?

Python 2.7.9+ and 3.4+ Good news! Python 3.4 (released March 2014) and Python 2.7.9 (released December 2014) ship with Pip. This is the best feature of any Python release. It makes the community’s wealth of libraries accessible to everyone. Newbies are no longer excluded from using community libraries by the prohibitive difficulty of setup. In shipping with a package … Read more

How do I install pip on macOS or OS X?

This question’s answers are a community effort. Edit existing answers to improve this post. It is not currently accepting new answers or interactions. I spent most of the day yesterday searching for a clear answer for installing pip (package manager for Python). I can’t find a good solution. How do I install it?

Pip freeze vs. pip list

When you are using a virtualenv, you can specify a requirements.txt file to install all the dependencies. A typical usage: The packages need to be in a specific format for pip to understand, which is That is the “requirements format”. Here, django==1.4.2 implies install django version 1.4.2 (even though the latest is 1.6.x). If you … Read more

How can I install packages using pip according to the requirements.txt file from a local directory?

This works for me: –no-index – Ignore package index (only looking at –find-links URLs instead). -f, –find-links <URL> – If a URL or path to an HTML file, then parse for links to archives. If a local path or file:// URL that’s a directory, then look for archives in the directory listing.ShareImprove this answer Follow … Read more