Another option nobody mentioned is to install from source! No need for pip or virtual environments. Simply download source and python setup.py install
. I find this the best and less tedious way, especially that I use many modules that aren't provided by apt
. Also, this approach works nicely with Dockerfile
.