Glam Prestige Journal

Bright entertainment trends with youth appeal.

Tried -

sudo apt update
sudo apt-get install python3-setuptools

giving error -

E: Package 'python3-setuptools' has no installation candidate

Tried -

sudo apt update
sudo apt install python3-pip

giving error -

E: Package 'python3-pip' has no installation candidate

When checked for universal repository -

sudo add-apt-repository universe
'universe' distribution component is already enabled for all sources.

For any other command too, giving error as python3-packagename has no installation candidate.

I checked the version of python, it is 3.8.2 . I installed 3.9 now and how to make it default. I want to try it so that whether it may works.

2

1 Answer

Run

sudo nano /etc/apt/sources.list

And add these lines.

deb bionic main universe
deb bionic-security main universe
deb 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.
I also works with

apt update
apt upgrade
3