====== Tipps zu pip ====== ===== Install ===== ==== Abhängigkeiten aus einer Requirements-Datei installieren ==== *pip install -r requirements.txt ==== ImportError: No module named pip ==== *python3 -m ensurepip ==== Sudo or not? ==== * [[https://www.reddit.com/r/learnpython/comments/6dsycn/pip_install_to_sudo_or_not/|pip install: sudo or not?]] ==== Upgrading PIP: ==== * pip install --upgrade pip [[https://stackoverflow.com/questions/5183672/how-do-i-update-a-python-package|Updating Python Packages with PIP]] ==== Spezielle Version mit pip installieren ==== * pip install MySQL_python==1.2.2 ==== pip list ==== List outdated packages * pip list -o List only locally (in virtualenv installed) packages * pip list -l ==== Package mit pip updaten: ==== * pip install pyOpenSSL --upgrade oder mit * pip install pip-upgrader pip-upgrade ==== pip auf OSX installieren: ==== *sudo easy_install pip *[[https://softwaretester.info/install-and-upgrade-pip-on-mac-os-x/|Install and upgrade pip on Mac OS X]]