Skip to content

Instantly share code, notes, and snippets.

@0xm0
Created November 21, 2021 14:02
Show Gist options
  • Save 0xm0/5d6a0b7858e420c95dfd62ac61d6d2d2 to your computer and use it in GitHub Desktop.
Save 0xm0/5d6a0b7858e420c95dfd62ac61d6d2d2 to your computer and use it in GitHub Desktop.
Python3-pip has no installation candidate error on install

Run

sudo nano /etc/apt/sources.list And add these lines.

deb http://archive.ubuntu.com/ubuntu bionic main universe
deb http://archive.ubuntu.com/ubuntu bionic-security main universe 
deb http://archive.ubuntu.com/ubuntu bionic-updates main universe

Press Ctrl+O to save the file. Press Ctrl+X to quit nano.

Then run:

sudo apt update
sudo apt install python3-pip

This works. Should also works with

apt update
apt upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment