【发布时间】:2020-01-12 21:20:52
【问题描述】:
我被困在这个 scikit-image(又名 skimage)的安装上。我尝试了多种方法:
- 从 git hub 文件夹安装(使用 requirements.txt)
- 从whl file 安装
- 使用 pip install scikit-image 安装
导入期间所有三个试验都失败了:import skimage
ImportError: cannot import name 'geometry'
It seems that scikit-image has not been built correctly.
Your install of scikit-image appears to be broken.
Try re-installing the package following the instructions at:
https://scikit-image.org/docs/stable/install.html
我浏览了互联网,但没有找到除上述解决方案之外的解决方案。 以前有人经历过吗? 一种可能性似乎是使用 -egg 进行 pip 安装,但我发现它适用于 Mac 而不是 Windows。
编辑:
大家好,所以我找到了一个解决方案,但这有点难,我仍然不明白为什么它以前不起作用。
我只是:
- 卸载 anaconda
- 卸载python
- 安装 python (3.8)
- 安装 Anaconda(我现在在使用 Spyder 时遇到问题^^)
【问题讨论】:
-
如果没有使用上述方法的特定要求,您可以轻松使用
Anaconda安装skimage。 -
@B200011011 你的意思是安装 Anaconda 和 scikit 镜像会出现?我在提出问题后学会了这种方法,但现在我卸载并重新安装了我无法让 Anaconda 工作
-
请检查我下面的回答是否有帮助。
标签: python windows installation scikit-image