Python: Difference between revisions
No edit summary |
|||
Line 12: | Line 12: | ||
And that never got me there. More lessons to learn... | And that never got me there. More lessons to learn... | ||
=== Configure pycharm to use a virtualenv === | |||
File > Settings > Project: ate > Project Interpreter > click Gear in top-right > Add Local | |||
Select the python bin eg: | |||
/home/m/Envs/ate/bin/python2 |
Revision as of 19:09, 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 --upgrade pip
Here are the things I had to install to get my work env going:
sudo apt install python-pip libxml2-dev libxslt1-dev
And that never got me there. More lessons to learn...
Configure pycharm to use a virtualenv
File > Settings > Project: ate > Project Interpreter > click Gear in top-right > Add Local
Select the python bin eg:
/home/m/Envs/ate/bin/python2