无法使mysql-connector-python安装在virtualenv中

无法使mysql-connector-python安装在virtualenv中,第1张

无法使mysql-connector-python安装在virtualenv中

几件事。程序包命名不一致,因此您可能需要这样做:

pip search mysql-connector

找出您平台上的名称。我有两个结果

mysql-connector-python
mysql-connector-repackaged

因此,请首先尝试

pip install mysql-connector-python

这可能还会产生如下错误:

Some externally hosted files were ignored (use     --allow-external mysql-connector-python to allow).

所以最后这应该可以完成工作:

pip install mysql-connector-python --allow-external mysql-connector-python


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5044702.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-11-15
下一篇2022-11-15

发表评论

登录后才能评论

评论列表(0条)

    保存