the distribution (Linux) Install the package within the ‘virtualenv‘ environment Run the program in ‘virtualenv‘ environment (development & production) samuelololol Brief Introduction to DjangoBook & Virtualenv May 28, 2013 4 / 14
cd env && source bin/activate (ENV)$ pip install packages –note-site-packages Do not give access to the global site-packages dir to the virtual environment 0http://virtualenvwrapper.readthedocs.org/en/latest/ samuelololol Brief Introduction to DjangoBook & Virtualenv May 28, 2013 5 / 14
install 2.7.3 $ pythonbrew switch 2.7.3 $ pythonbrew list $ pythonbrew use 2.7.3 version Switched to Python-2.7.3 samuelololol Brief Introduction to DjangoBook & Virtualenv May 28, 2013 8 / 14
install 2.7.3 $ pythonbrew switch 2.7.3 $ pythonbrew list $ pythonbrew use 2.7.3 version Using ‘Python-2.7.3‘ samuelololol Brief Introduction to DjangoBook & Virtualenv May 28, 2013 8 / 14