pip install scikit-image 在windows上安装失败
2018-01-24 12:01
639 查看
问题:
..........
running build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying f
rom distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
building 'skimage._shared.geometry' extension
compiling C sources
error: [WinError 2] 系统找不到指定的文件。
----------------------------------------
Command ""d:\program files\python 3.5\python.exe" -u -c "import setuptools, toke
nize;__file__='C:\\Users\\root\\AppData\\Local\\TEMP_~1\\pip-build-lwkf7q36\\sci
kit-image\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().r
eplace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --
record C:\Users\root\AppData\Local\TEMP_~1\pip-gs29x02e-record\install-record.tx
t --single-version-externally-managed --compile" failed with error code 1 in C:\
Users\root\AppData\Local\TEMP_~1\pip-build-lwkf7q36\scikit-image\
解决方法:
第一步:在官网http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikit-image下载:scikit-image
根据自己安装的Python版本以及电脑系统笨笨下载相应scikit-image的版本。(我的Python是3.5,所以下载的scikit-image版本是:scikit_image-0.13.1-cp35-cp35m-win_amd64.whl)
第二步:执行安装本地包的pip命令
pip install d:\deeplearning\scikit_image-0.13.1-cp35-cp35m-win_amd64.whl
OK!
..........
running build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying f
rom distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
building 'skimage._shared.geometry' extension
compiling C sources
error: [WinError 2] 系统找不到指定的文件。
----------------------------------------
Command ""d:\program files\python 3.5\python.exe" -u -c "import setuptools, toke
nize;__file__='C:\\Users\\root\\AppData\\Local\\TEMP_~1\\pip-build-lwkf7q36\\sci
kit-image\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().r
eplace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --
record C:\Users\root\AppData\Local\TEMP_~1\pip-gs29x02e-record\install-record.tx
t --single-version-externally-managed --compile" failed with error code 1 in C:\
Users\root\AppData\Local\TEMP_~1\pip-build-lwkf7q36\scikit-image\
解决方法:
第一步:在官网http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikit-image下载:scikit-image
根据自己安装的Python版本以及电脑系统笨笨下载相应scikit-image的版本。(我的Python是3.5,所以下载的scikit-image版本是:scikit_image-0.13.1-cp35-cp35m-win_amd64.whl)
第二步:执行安装本地包的pip命令
pip install d:\deeplearning\scikit_image-0.13.1-cp35-cp35m-win_amd64.whl
OK!
相关文章推荐
- pip install scikit-image on windows 失败 解决方案
- Windows下pip和virtualenv安装失败总结
- windows环境下 pip 安装 seaborn 失败?
- AI-Tensorflow—windows64bit下pip install scikit-image安装错误
- 安装SQL2000时出现:安装程序配置服务器失败。参考服务器错误日志和 C:/WINDOWS/sqlstp.log 了解更多信息。
- 任务失败,原因是未找到“LC.exe”,或未安装正确的 Microsoft Windows SDK。
- Windows+Linux安装Python包管理工具pip
- windows环境中安装pip
- Python: Windows下pip安装库出错:Microsoft Visual C++ 9.0 is required < Unable to find vcvarsall.bat
- windows下安装pip、Flask
- CentOS7上 pip install MySQL-python 安装失败(error: command 'gcc' failed with exit status 1)的解决办法
- Windows 8.1 安装VS 2013失败
- windows下pip install安装第三方库速度慢问题的解决
- windows 服务 安装时System.BadImageFormatException:格式无效
- GitHub for Windows安装失败解决方法
- 解决windows下Composer因php_openssl扩展缺失而安装失败的问题
- Windows 上安装 pip
- windows下Composer-Setup安装失败
- windows下面安装Python和pip终极教程
- windows下安装easy_install, pip 及whl文件安装方法