第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

mysql-python安裝錯(cuò)誤:無(wú)法打開(kāi)包含文件“ config-win.h”

mysql-python安裝錯(cuò)誤:無(wú)法打開(kāi)包含文件“ config-win.h”

忽然笑 2019-12-12 14:06:07
我正在嘗試運(yùn)行,pip install mysql-python connector但始終給我一個(gè)錯(cuò)誤“ 無(wú)法打開(kāi)包含文件:'config-win.h' ”。在我的Mac和另一臺(tái)Windows機(jī)器上,該安裝工作正常,但在此機(jī)器上卻不能。我已經(jīng)下載了Visual Studio C ++,并嘗試同時(shí)安裝32位和64位。_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directoryerror: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\BIN\\cl.exe' failed with exit status 2----------------------------------------Cleaning up...Command C:\Users\Admin1\Desktop\python\virtual\Scripts\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\Admin1\\Desktop\\python\\virtual\\build\\MySQL-python\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\admin1\appdata\local\temp\1\pip-6pmwrd-record\install-record.txt --single-version-externally-managed --compile --install-headers C:\Users\Admin1\Desktop\python\virtual\include\site\python2.7 failed with error code 1 in C:\Users\Admin1\Desktop\python\virtual\build\MySQL-pythonStoring debug log for failure in C:\Users\Admin1\pip\pip.log
查看完整描述

3 回答

?
萬(wàn)千封印

TA貢獻(xiàn)1891條經(jīng)驗(yàn) 獲得超3個(gè)贊

你可以試試...


   pip install mysqlclient==1.3.4

它為我工作。


如果以上命令無(wú)效,請(qǐng)嘗試...


 pip install --only-binary :all: mysqlclient

兩者都為我工作。


查看完整回答
反對(duì) 回復(fù) 2019-12-12
  • 3 回答
  • 0 關(guān)注
  • 1092 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)