2017-12-09 6 views
2
Installation ist fehlgeschlagen

Also habe ich versucht pip3 install MySQL-python laufen und ich habe diese FehlermeldungenMySQL-Python mit Exit-Status 1120

mysqlclient.lib(typelib.obj) : error LNK2001: unresolved external symbol ___iob_func 
    mysqlclient.lib(viosslfactories.obj) : error LNK2001: unresolved external symbol ___iob_func 
    mysqlclient.lib(my_winfile.obj) : error LNK2001: unresolved external symbol ___iob_func 
    mysqlclient.lib(my_messnc.obj) : error LNK2001: unresolved external symbol ___iob_func 
    mysqlclient.lib(client.obj) : error LNK2001: unresolved external symbol ___iob_func 
    mysqlclient.lib(my_thr_init.obj) : error LNK2001: unresolved external symbol ___iob_func 
    mysqlclient.lib(my_init.obj) : error LNK2001: unresolved external symbol ___iob_func 
    mysqlclient.lib(default.obj) : error LNK2001: unresolved external symbol ___iob_func 
    mysqlclient.lib(default.obj) : error LNK2001: unresolved external symbol _printf 
    build\lib.win32-3.6\_mysql.cp36-win32.pyd : fatal error LNK1120: 2 unresolved externals 
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\link.exe' failed with exit status 1120 

    ---------------------------------------- 
Command "c:\users\user\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\User\\AppData\\Local\\Temp\\pip-build-pz867vb9\\MySQL-python\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\User\AppData\Local\Temp\pip-87_rnd_9-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\User\AppData\Local\Temp\pip-build-pz867vb9\MySQL-python\ 

Ich habe Microsoft Visual Studio

Antwort

1

MySQL-python ist nur so gut wie der MySQL-Connector installiert für Python 2. Für Python 3 benötigen Sie mysqlclient, mysql-connector oder PyMySQL.

Verwandte Themen