Score:-3

I can not install pip3 on my Ubuntu

kr flag

I need to install pip3 on my ubuntu but if i run sudo apt install python3-pip I get following error: error installing pip

If I try to run sudo apt --fix-broken install to solve the error, I get the followind message: error running --fix-broken

Enyone know something I could do?

dada_nag avatar
kr flag
I allso tryed to stop the server but ... it sas "Failed to stop mysql.service: Unit mysql.service not loaded. "
user535733 avatar
cn flag
Read your output: Your problem was there before you tried to install pip, and has nothing (directly) to do with pip. Your output tells you exactly what to do about the problem: 1) Stop your mysql server, 2) Then fix your package conflict. Then you can (optionally) resart mysql and install pip.
dada_nag avatar
kr flag
I tryed to stop the server but I get `Failed to stop mysql.service: Unit mysql.service not loaded. `
user535733 avatar
cn flag
Then THAT is what your Question should be about. How you stop something depends upon how you started it.
Score:0
kr flag

I solved my problem. I could not stop my mysql.server with sudo apt remove --purge mysql-* but the following command worked for me: sudo systemctl disable mysql.service.

So I removed mysql with sudo apt remove --purge mysql-* and the the installation of pip woked.

j0h avatar
au flag
j0h
I'm happy you found a solution to your problem. I'm a bit concerned as to why it worked, this probably isn't a good answer for most cases. in the future you might try `sudo dpkg -a --configure` to resolve issues with dpkg package manager.
dada_nag avatar
kr flag
Ok thanks, I will keep it in mind
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.