install 

Send to Kindle
home » snippets » python » install



Setting up my python

Disabling zip installs

Drop this in ~/.pydistutils.cfg

[easy_install]
zip_ok = False

Use a virtual environment

python virtualenv.py --distribute --no-site-packages --unzip-setuptools <name_of_directory>

Install packages

# For non-virtualenv python
pip install virtualenv

What libraries do I have installed?

From pip: freezing requirements

pip freeze > stable-req.txt