Skip to content

Instantly share code, notes, and snippets.

@pyjavo
Last active March 29, 2020 07:06
Show Gist options
  • Save pyjavo/8486156 to your computer and use it in GitHub Desktop.
Save pyjavo/8486156 to your computer and use it in GitHub Desktop.
PIP: Comandos comunes
'''Crear archivo requirements.txt a partir de PIP FREEZE
pip freeze > requirements.txt
Actualizar un paquete de PIP
pip install --upgrade Django==1.4.2
Checar inconsistencias
pip check
Instalar paquetes de requirements.txt
pip install -r requirements.txt
Available decoder jpeg in django
pip uninstall PIL
sudo apt-get install libjpeg-dev
sudo apt-get install zlib1g-dev
sudo apt-get install libpng12-dev
pip install PIL
Outside virtualenv but with no sudo on the server
# https://pip.pypa.io/en/stable/user_guide/#user-installs
pip install --user SomePackage
-------------- PYTHON 3 --------------
Correr pip en python 3.4 (Ubuntu casa)
python3.4 -m pip -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment