This question has been flagged
6 Replies
800197 Views

Hello, Now I want to deploy odoo12 on ubuntu18.04 and i type "sudo apt-get install python3-pip" in terminal. But show error message like that "Enable to locate package python3-pip".How should I do?.Please kindly guide to me.


Thanks 

Avatar
Discard
Best Answer

Installing pip for Python 3

Ubuntu 18.04 ships with Python 3, as the default Python installation. Complete the following steps to install pip (pip3) for Python 3:

  1. Start by updating the package list using the following command:

    sudo apt update
  2. Use the following command to install pip for Python 3:

    sudo apt install python3-pip

    The command above will also install all the dependencies required for building Python modules.

  3. Once the installation is complete, verify the installation by checking the pip version:

    pip3 --version

    The version number may vary, but it will look something like this:

    pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
Avatar
Discard
Best Answer

The -m switch tells Python to run a module as an executable of the python3 interpreter. 

Avatar
Discard
Best Answer

Unfortunately, I cannot install pip in Python 3. Can you help me?


Avatar
Discard

Here's how I installed it:
1. Download get-pip.py
First, I downloaded the get-pip.py script. This script will automatically download and install pip for you. You can download it from the following URL:
http://bootstrap.pypa.io/get-pip.py
2. Run the get-pip.py script
Once I have downloaded the get-pip.py script, open a terminal window and navigate to the directory where I saved it. Then, run the command\
3. Verify the installation
Sources: https://geometrydash-lite.com

Best Answer

Do you install pip in Python 3 successful?

Avatar
Discard

You can just do it with this command:

apt-get install python3-pip
But make sure you have Python 3 installed
Installing Pip (more details): https://linuxstans.com/install-pip-ubuntu/
Installing Python 3 (more details): https://linuxstans.com/how-to-install-python-ubuntu/
Source: https://geometrydash22.com

Best Answer

Hello,

you can install pip via below command.

sudo python3.7 -m pip install pip
-->  replace your python version with python3.7 if not python3.7 in your system.
Thanks

Sunny Sheth
Avatar
Discard
Best Answer

You can just do it with this command:

apt-get install python3-pip
But make sure you have Python 3 installed


Avatar
Discard

Installing Pip (more details): https://linuxstans.com/install-pip-ubuntu/
Installing Python 3 (more details): https://linuxstans.com/how-to-install-python-ubuntu/