Skip to content
Advertisement

How to install Python package installer PIP on Ubuntu 20.04 Linux

Trying to install pip with Ubuntu version 20.04, Python version 3.8 on my Oracle virtual box. Tried everything to install pip but failed

Steps tried

JavaScript

Also tried

JavaScript

Error both times

python3-pip is not available but is being used by another candidate. This may mean that the package has been obsolete, has been missing or is only available from another source.

E: Package ‘python3-pip’ has no installation candidate

Advertisement

Answer

Option 1

1.vim /etc/apt/sources.list

2.add these lines in the above file.

JavaScript
  1. sudo apt update

  2. sudo apt install python3-pip

Option 2

JavaScript

Option 3 https://stackoverflow.com/a/59922280/11741464

Source: facing problem in kali linuix python3-pip

Advertisement