2
所以,我已經回顧了這個問題,我嘗試了幾個在這個論壇上的解決方案,但都沒有成功。Python,未能安裝。退出代碼:1 windows 10
我已經安裝了PIP 3,Python的3.4,Visual Studio的2015年在Windows 10
現在,每當我手動或通過PIP3運行一個新的模塊的安裝我收到以下錯誤:
說我使用在CMDLINE這樣:
pip3 install numpy
我得到:
error: Unable to find vcvarsall.bat
----------------------------------------
Command "c:\users\ariel\appdata\local\programs\python\python35-32\python.exe -c
"import setuptools, tokenize;__file__='C:\\Users\\Ariel
\\AppData\\Local\\Temp\\pip-build-41rz6w_o\\numpy\\setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read()
.replace('\r\n', '\n'), __file__, 'exec'))" install --record
C:\Users\Ariel\AppData\Local\Temp\pip-vuq3ap0m-record\install-record.txt
--single-version-externally-managed --compile" failed with error code 1
in C:\Users\Ariel\AppData\Local\Temp\pip-build-41rz6w_o\numpy
如果我下載它,並從該文件夾運行
setup.py install
我得到
build_src
building py_modules sources
building library "npymath" sources
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
error: Unable to find vcvarsall.bat
請幫幫忙,考慮到只使用與Python的Linux ...少的問題
檢查此帖:http://stackoverflow.com/questions/19830942/pip-install-gives-error-unable-to-find-vcvarsall-bat – Jaco
@Jaco我試過'easy_install',我仍然收到'錯誤:安裝腳本退出的錯誤:無法找到vcvarsall.bat' – asosnovsky
您需要安裝https://www.microsoft.com/en-us/download/details.aspx?id=8279 – Jaco