python setup.py install 報錯:error: [WinError 3] 系統找不到指定的路徑。: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib
Outline
在通過 setup.py 安裝python模組時,遇到了以下報錯:
# 執行 python setup.py install # 報錯: error: [WinError 3] 系統找不到指定的路徑。: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib
錯誤因素很多,在這裡排除依賴原因;
排除:pip install XXXXXXXXXXXXXX.whl
Anaconda環境配置再三檢查,沒有問題;
Microsoft Visual Studio 14.0 也有安裝;
解決
網上尋找了各種解決方案(百度),無非Outline裡提到的那四種;
後來到 Google 上找到了解決方法:
參見:點選跳轉
主要原因是自己 C++ 相關元件不完善導致的,按照上述方法操作後問題得到解決。
Step.1
開啟你的Visual Studio (我安裝的是2015版本):
Step.2
依次點選:
檔案 --> 新建 --> 專案 --> Visual C++ --> 確定
然後會自動跳出提示讓你安裝元件,點選安裝就OK(安裝時忘記截圖);
安裝時間可能會稍微長些。
Step.3
然後再執行 python setup.py install
Everything is OK~~
相關推薦
python setup.py install 報錯:error: [WinError 3] 系統找不到指定的路徑。: 39;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib
Outline 在通過 setup.py 安裝python模組時,遇到了以下報錯: # 執行 python setup.py install # 報錯: error: [WinError 3] 系統找不到指定的路徑。: 'C:\\Program Files (x86)\\Microsof
error: command 39;C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe39; failed with exit status 2
安裝mysql是出現這個錯誤。 python3.和python2.兩個的版本不一樣,所以安裝的東西也不一樣:MySQLdb 安裝mysql的連線包。工具安裝 Python3.x版本:Pip install mysqlclient 但是Python2.x 版本:pip install mysql-python
安裝cvxpy時提示error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\
這幾天,我在win10+vs2015平臺安裝cvxpy包時總是安裝失敗,提示如下: 具體內容是: Command "f:\anaconda\python.exe -u -c "import setuptools, tokenize;__file__='C:\\User
npm install 報錯:error Unexpected end of JSON input while parsing near 39;...https://registry.npmj39;的解決辦法
記: 在npm install前端專案時報錯:error Unexpected end of JSON input while parsing near '...https://registry.npmj' 解決辦法: 1.先清理一下快取: npm cache clean --for
安裝scrapy error: [WinError 3] 系統找不到指定的路徑。: 'C:\Program Files (x86)\Micros oft Visual Studio 14.0\VC**
error: [WinError 3] 系統找不到指定的路徑。: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib' --------------------
mysql 5.5升級5.6報錯:ERROR 1193 (HY000) at line 84: Unknown system variable 39;have_csv39;
首先登陸資料庫沒有問題呀,但是有報錯, 文字顯示: ERROR 1193 (HY000) at line 84: Unknown system variable 'have_csv' ERROR 1064 (42000) at line 86: You have an error in yo
python使用scipy報錯:“ImportError: DLL load failed: 找不到指定的模組”的解決方案
好久沒有使用實驗室電腦裡的python了,某天開啟塵封已久的電腦,執行以前寫好並除錯好的程式,出現了這樣的錯誤: Traceback (most recent call last): File "E:/fish_track/Trace_main2.py",
Import TensorFlow as tf 報錯:ImportError: DLL load failed: 找不到指定的程式
一、報錯描述 今天在新電腦上安裝TensorFlow環境,遇到一個小問題。當使用pip工具或在Pycharm中自動安裝完TensorFlow後,在程式中匯入竟然報錯了: import tensorflow as tf 如此簡單的一句匯入竟然報錯,Why。具體錯誤如下,主要是Imp
anaconda安裝或者解除安裝工具包時,報錯:OSError: [WinError 17] 系統無法將檔案移到不同的磁碟驅動器
例如,報錯如下: OSError: [WinError 17] 系統無法將檔案移到不同的磁碟驅動器。: 'd:\\anaconda3\\scr ipts\\pip.exe' -> 'C
import numpy報錯:ImportError: DLL load failed: 找不到指定的模組。
我的numpy的版本是1.15.1,我使用的是anaconda環境。 今天在匯入numpy庫時遇到了一個出乎意料的錯誤 >>> import numpy Traceback (most recent call last): File "C:\Users\peter\
【解決方法】調試出現:error C3861: “max”,“min”: 找不到識別符號。
將VC++ 6.0程式搬到VS2008上面時,調試出錯: error C3861: “max”,“min”: 找不到識別符號。 網上找了下,缺少庫檔案或者未定義、未宣告一類的, 滑鼠放在上面一看有定義啊,指向WinDef.h標頭檔案,咋辦呢? 再定義一個max/min ?
VS2008編譯錯誤:error C2065: 39;PMIB_TCPSTATS39; : undeclared identifier c:\program files (x86)\microsoft sdks\windows\v7.0a\include\iphlpapi.h 411
安裝了VS2008編譯之前的程式,結果出現了編譯錯誤,以為是VS2008的Sp1補丁沒裝好,重灌補丁後還是不行,編譯錯誤如下: 雙擊錯誤會定位在iphlpapi.h中, 一個可行的解決辦法是:把iphlpapi.h檔案的line386---line421 都註釋掉了: 然
使用shutil.copyfile遇到錯誤:[WinError 3] 系統找不到指定的路徑。
程式shutil.copyfile(os.path.join(sourcepath+'/'+eachclass+ '/',im),valpath+'/'+eachclass+'/'+im) 出現錯誤:[WinError 3] 系統找不到指定的路徑。 分析:路徑裡面的im是
Kaggle學習:FileNotFoundError: [WinError 2] 系統找不到指定的檔案
使用Jupyter notebook時執行此段程式碼: from subprocess import check_output print(check_output(["ls", "C:/Kaggle/Titanic/input"]).decode("utf8"
building '_mysql' extension error: [WinError 2] 系統找不到指定的檔案
-------------本文章是用pycharm導包連結資料庫的時候出現的問題,---不是此問題請忽略此文章----------在python3.X中已經不支援_mysql這種安裝了,開啟CMD ,如果不知道怎麼開啟,請先複習電腦操作基本知識保證電腦已安裝了 pip
pycharm18.2.4 + Python3.7.1 安裝salt報錯python pip install salt: Command "python setup.py egg_info" failed with error code 10 及解決方法
最近在使用Python3.7.1 + pycharm + salt編寫程式中需要用到salt模組,但是在pycharm中使用pip install salt 安裝時出現錯誤: 1、提示需要 microsoft visual c++ 14.0 解決方法:可以去官網http://land
安裝pyecharts報錯Command "python setup.py egg_info" failed with error code 1
在使用 pip install pyecharts 命令安裝pyechats 時,出現瞭如下錯誤: Command "python setup.py egg_info" failed with error code 1 in C:\Users\SEAVAN~1\AppData\Local\T
執行pip install xxx時報錯: command "python setup.py egg_info" failed with error code 10
問題描述: 安裝了 python-3.7.2-amd64.exe ,在執行pip install xxx時報錯: command "python setup.py egg_info" failed with error code 10 解決辦法: step1. 執行pip inst
yum install ntp 報錯:Error: Package: ntp-4.2.6p5-25.el7.centos.2.x86_64 (base)
時報 existing -s pmd cond AC base update ntpdate redhat7 在安裝ntp時報如下錯誤 Error: Package: ntp-4.2.6p5-25.el7.centos.2.x86_64 (base) R
解決Python3安裝turtle提示錯誤:Command "python setup.py egg_info" failed with error code 1
pip install turtle 出現 可以選擇升級 setuptools pip install --upgrade setuptools 升級完成後,還是會出現錯誤的話,就手動選擇更改檔案 按照給定的連結,下載turtle包,手動解壓,修改setu