以下是我尝试在pycharm中安装"mysql-connector-python“时产生的错误。任何帮助都是最好的。
Non-zero exit code(1)
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'C:\Users\karan.gupta\AppData\Local\Programs\Python\Python36-32\python.exe'.
Collecting mysql-connector-python
Could not fetch URL https://pypi.python.org/simple/mysql-connector-python/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748) - skipping
Could not find a version that satisfies the requirement mysql-connector-python (from versions: )
No matching distribution found for mysql-connector-python发布于 2017-09-26 15:42:40
按照错误处理程序的建议,从终端运行pip install mysql-connector。或者尝试从您已经尝试过的任何地方运行相同的命令,但在最后没有-python。
发布于 2017-10-05 03:47:51
单击here!改用MySQLdb,我用过了,它工作得很好。方法在博客中。希望能对你有所帮助
发布于 2018-02-16 07:33:49
我相信这个版本的连接器只适用于python2.7,如果你尝试在python2.7版本中安装它,也许它可以工作。
https://stackoverflow.com/questions/46420243
复制相似问题