gpt4 book ai didi

python - 无法在pycharm中安装mysql-connector-python

转载 作者:行者123 更新时间:2023-11-29 10:36:00 25 4
gpt4 key购买 nike

以下是我尝试在 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

最佳答案

按照错误处理程序的建议,从终端运行 pip install mysql-connector 。或者尝试从您已经尝试过的任何位置运行相同的命令,但末尾不带 -python

关于python - 无法在pycharm中安装mysql-connector-python,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46420243/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com