What is setup.py?

setup.py is a python file, the presence of which is an indication that the module/package you are about to install has likely been packaged and distributed with Distutils, which is the standard for distributing Python Modules. This allows you to easily install Python packages. Often it’s enough to write: $ pip install . pip will … Read more

Why use pip over easy_install?

From Ian Bicking’s own introduction to pip: pip was originally written to improve on easy_install in the following ways All packages are downloaded before installation. Partially-completed installation doesn’t occur as a result. Care is taken to present useful output on the console. The reasons for actions are kept track of. For instance, if a package … Read more

‘pip install’ fails for every package (“Could not find a version that satisfies the requirement”) [duplicate]

Upgrade pip as follows: curl https://bootstrap.pypa.io/get-pip.py | python Note: You may need to use sudo python above if not in a virtual environment. What’s happening: Python.org sites are stopping support for TLS versions 1.0 and 1.1. This means that Mac OS X version 10.12 (Sierra) or older will not be able to use pip unless they upgrade … Read more