2017-09-26 4 views
0

pycharmに "mysql-connector-python"をインストールしようとすると、次のエラーが発生します。どんな助けも素晴らしいだろう。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 

答えて

0

エラーハンドラが示唆するように、端末からpip install mysql-connectorを実行してください。または、すでに試したところから同じコマンドを実行してください。末尾に-pythonを付けないでください。

+0

「ピップが内部コマンドまたは外部コマンドとして認識されません」と表示されます。私はpythonがインストールされているディレクトリに切り替える必要がありますか? –

+0

あなたはどのOSにいますか? –

+0

私はWindows 10 64ビット版です –

0

クリックhere! 代わりにMySQLdbを使用して、私はそれを使用して正常に動作しています。方法はブログにあります。 欲しいと思っています

0

このバージョンのコネクタはpython 2.7でのみ動作しますが、python 2.7のバージョンでインストールしようとするとうまくいくと思います。

関連する問題