Python: Difference between revisions
(Created page with "=== Installation on Ubuntu === Virtual environments are great. Best to use them right out of the gate, as Ubuntu apparently has [https://askubuntu.com/questions/924564/instal...") |
No edit summary |
||
Line 1: | Line 1: | ||
=== Installation on Ubuntu === | === Installation on Ubuntu === | ||
Virtual environments are great. Best to use them right out of the gate, as Ubuntu apparently has [https://askubuntu.com/questions/924564/installing-python-packages-using-pip hacked up] their version. | Virtual environments are great. Best to use them right out of the gate, as Ubuntu apparently has [https://askubuntu.com/questions/924564/installing-python-packages-using-pip hacked up] their version. | ||
sudo apt update | |||
sudo apt install virtualenv | |||
virtualenv my_python | |||
source my_pyton/bin/activate | |||
pip install -U pip |
Revision as of 15:11, 27 July 2017
Installation on Ubuntu
Virtual environments are great. Best to use them right out of the gate, as Ubuntu apparently has hacked up their version.
sudo apt update sudo apt install virtualenv virtualenv my_python source my_pyton/bin/activate pip install -U pip