How to install virtualenv: Install pip first sudo apt-get install python3-pip Then install virtualenv using pip3 sudo pip3 install virtualenv