When there is a problem with the anoconda installation package, the solution & the method of installing pymysql and aiomysql under python3

The landlord uses the anoconda version of python. I thought that any package that is powerful in anoconda can be installed, but this time there is a problem. When I wanted to install aiomysql, I found that the following errors kept appearing. I searched many methods on the Internet and found that I couldn't solve it. Some people said that the version of pymysql was too high. After I deleted this package, I found that when I reinstalled it, pymysql could not be installed. , The landlord felt uncomfortable with mushrooms at that time. After many search attempts, I found that pymysql must be a new version, because other packages depend on it, so I wasted a long time but kept away from the target. But the landlord who didn't give up trying to achieve the goal tried again, and finally found that the reason was one point, because the pip version was not upgraded, so the new package could not be installed. The specific solution is very simple, just enter conda install pip in the command line , and then use The command pip install aiomysql can be successfully installed. See the figure below for details.

Here is a screenshot of the failed installation:



The following is a screenshot of a successful installation:







Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326070078&siteId=291194637