Sudo apt install python3-pip not working

the above mentioned command is executed but a message “Waiting for cache lock:could not get lock…” appears and there is no response. I would like to request a solution to this problem

The image to my error is enclosed below;

Hi @nchumthungkithan63

Remove your lock file and force package reconfiguration.

sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*

Do let me know in case you need further assistance.

New error as usual…

Hey try using without sudo use python install pip

try this command on your command line:

sudo apt install python3.8
after this it will ask for password if required

if it asks for you to continue then press Y

Hi @nchumthungkithan63,

As you can see in the screenshot, Reconfigure the dpkg by typing the below command.

sudo dpkg --configure -a

Then update the packages by typing the below command.

sudo apt-get update

Then install pip packages.

sudo apt-get install python3-pip

Do let me know in case you need further assistance.


Python3- pip has no installation? I don’t know how to solve this

Hi @adngangstergamers,
Run the following command and try again:

sudo apt update && sudo apt upgrade -y

Thank you very much sir for responding…! It worked :gift_heart:

1 Like