May 2019
Intermediate to advanced
452 pages
12h 16m
English
To install virtualenv, first let's update our Ubuntu Linux system. If you recall the ROCm installation, this was the first step there, as well:
sudo apt update
Now let's upgrade the system:
sudo apt upgrade
Using dist-upgrade intelligently manages dependencies and removes older packages when performing the upgrade, whereas using only upgrade keeps older packages while upgrading to the newest available ones.
If you do not have pip already installed, run the following:
sudo apt install python3-pip
After installing pip, use it to finally install virtualenv:
pip install virtualenv
pip will then install virtualenv as shown in the following code:
Collecting virtualenv Downloading https://files.pythonhosted.org/packages/33/5d/314c760d4204f64e4a968275182b7751bd5c3249094757b39ba987dcfb5a/virtualenv-16.4.3-py2.py3-none-any.whl ...
Read now
Unlock full access