Score:1

Unable to install MySQL client via pip3 or pip

gh flag

I get the exact same error as shown in Unable to install mysqlclient on Ubuntu 20.10 and Error installing libmysqlclient-dev on Ubuntu 20.04. But after doing all these, if I install mysqlclient via, "sudo pip3 install mysqlclient" it installs successfully. The problem is I don't need it in root since I'm using virtual env and my django is not in root, that is, python in venv does not detect mysqlclient in root. Any help is appreciated.

Score:1
gh flag

Well i found a solution, apparently conda's venv was messing up with my project's venv, so I disabled it using "conda deactivate" and then installed and it was successful. So follow the links pasted above and make sure you're not in any other environment other than your own.

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.