Programming, Python

Install python3 packages with pip

Assuming that you have python2 also installed on the system.

>> Install virtualenv

sudo apt-get install virtualenv

>> Create shortcut

virtualenv -p /usr/bin/python3 py3

>> Activate shortcut

source py3/bin/activate

>> Install package

pip install package