在虚拟环境中安装mysqlclient 1.3.13版本时报错,

安装mysqlclient报错Check the logs for full command output.
从中我们可以看出原因时因为Microsoft visual c++ 14.0解析包不存在,所以无法安装成功。

然后我们就需要去这个网址

https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient

查找到自己要安装的包
安装mysqlclient报错Check the logs for full command output.

然后选择python的版本和自己电脑是32位还是64位,下载之后,在终端进入到要安装包的虚拟环境,然后输入pip install 此处填写你下载的文件的目录加文件名,点击回车即可。

安装mysqlclient报错Check the logs for full command output.
如果出现上面的字样,则说明安装成功。

相关文章:

  • 2020-05-29
  • 2021-04-21
  • 2022-01-08
  • 2021-11-18
  • 2021-09-26
  • 2021-12-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2021-11-29
相关资源
相似解决方案