![]() If pip3 has been successfully installed, you should get the following output on your screen: pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6) Step 3: Install pip for Python 2 (optional) We can now install pip3 by running the following command: apt install python-pip3Īfter the installation is completed, you can now check again whether pip3 as been successfully installed with: pip3 -V If pip3 is not installed, you will get the following output: Command 'pip3' not found, but can be installed with: To check if pip for Python 3 is already installed on your server, run the following command: pip3 -V Python 3 is the default version that comes with Ubuntu 18.04. Once logged in, make sure that your server is up-to-date by running the following commands: apt updateĪpt upgrade Step 2: Install pip for Python 3 You can use the username of an admin account in place of the word ‘root’ if needed. To connect to your server via SSH as the root user, use the following command: ssh IP_ADDRESS -p PORT_NUMBERĪnd replace “ IP_ADDRESS” and “ PORT_NUMBER” with your actual server IP address and SSH port number.
0 Comments
Leave a Reply. |