赞
踩
Building wheel for scikit-image (setup.py) … error ERROR: Command errored out with exit status 1: command: ‘D:\Anaconda3\envs\dc2\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\18346\AppData\Local\Temp\pip-install-_sr_f01f\scikit-image_07e50cb8407142a18959840e25de298e\setup.py’"’"’; file=’"’"‘C:\Users\18346\AppData\Local\Temp\pip-install-_sr_f01f\scikit-image_07e50cb8407142a18959840e25de298e\setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d ‘C:\Users\18346\AppData\Local\Temp\pip-wheel-drf049s1’
在官网https://www.lfd.uci.edu/~gohlke/pythonlibs/#scikit-image7585找到下载。
因为要使用的版本为0.13.0已经被新版本顶下去了,点击红色scikit-image链接
所以继续找到需要的版本,进入已发行的版本Releases
页面如下:在Tags中向后翻页,找到对应的版本,下载压缩文件
将压缩包解压到自己的环境地址下,在Anaconda配置窗口中运行,成功解决下载报错。
pip install D:\Anaconda3\envs\dc2\Lib\site-packages\scikit-image-0.13.0
成功
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。