Python setup.py develop vs install

python setup.py install is used to install (typically third party) packages that you’re not going to develop/modify/debug yourself. For your own stuff, you want to first install your package and then be able to frequently edit the code without having to re-install the package every time — and that is exactly what python setup.py develop does: it installs the package … Read more

No module named pkg_resources

July 2018 Update Most people should now use pip install setuptools (possibly with sudo). Some may need to (re)install the python-setuptools package via their package manager (apt-get install, yum install, etc.). This issue can be highly dependent on your OS and dev environment. See the legacy/other answers below if the above isn’t working for you. Explanation This error message is caused … Read more

How to install pip with Python 3?

edit: Manual installation and use of setuptools is not the standard process anymore. If you’re running Python 2.7.9+ or Python 3.4+ Congrats, you should already have pip installed. If you do not, read onward. If you’re running a Unix-like System You can usually install the package for pip through your package manager if your version of Python is older than 2.7.9 or 3.4, … Read more