Python: Difference between revisions

From Bitpost wiki
No edit summary
Line 9: Line 9:


Here are the things I had to install to get my work env going:
Here are the things I had to install to get my work env going:
  sudo apt install libxml2-dev
  sudo apt install python-pip libxml2-dev libxslt1-dev
 
And that never got me there.  More lessons to learn...

Revision as of 19:02, 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...