Python error: command '…\Microsoft Visual Studio 10.0\\VC\\BIN\\cl.exe' failed with exit status 2

后端 未结 4 695
攒了一身酷
攒了一身酷 2020-12-15 19:14

I have some problems with python 3 module installing. I\'m trying to install mysql using pip :

python -m pip install mysql

for python 3.4.4

4条回答
  •  难免孤独
    2020-12-15 19:45

    Do you have Connector installed? (See also here)

    Download it here and install.

    It can be due to you have x64 Windows, but mysql wants files to be in "Program Files (x86)" directory:

    mklink /d "C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include" "C:\Program Files\MySQL\MySQL Connector C 6.0.2\include"
    

    If won't help, try other answers from that post

提交回复
热议问题