Created
December 31, 2011 18:27
-
-
Save dperezrada/1544876 to your computer and use it in GitHub Desktop.
Prepare python on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install python | |
sudo aptitude install python-setuptools | |
sudo easy_install pip | |
sudo pip install virtualenv | |
# Create a new enviroment | |
mkdir ~/envs | |
cd ~/envs | |
virtualenv --no-site-packages my_project | |
# Activate Enviroment | |
source ~/envs/my_project/bin/activate | |
# Deactivate Enviroment | |
deactivate | |
# If you want your enviroment to be automatly activated | |
echo "source ~/envs/my_project/bin/activate" >> ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment