error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [5 lines of output] To install scikit-image from source, you will need numpy. Install numpy with pip: pip install numpy Or use your operating system package manager. For more details, see http://scikit-image.org/docs/stable/install.html [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip.如何解决
时间: 2023-10-16 21:08:18 浏览: 431
Weditor包,安装weditor失败,subprocess-exited-with-error
这个错误提示显示在安装 scikit-image 时出现了问题。错误提示建议你在安装 scikit-image 之前先安装 numpy。你可以尝试按照错误提示中给出的方法安装 numpy:
```
pip install numpy
```
如果你已经安装了 numpy,那么可能是 numpy 版本太老或者与其他包不兼容。你可以尝试更新 numpy:
```
pip install --upgrade numpy
```
如果这些方法都不能解决问题,你可以尝试升级你的 setuptools:
```
pip install --upgrade setuptools
```
如果仍然无法解决问题,你可以考虑使用 conda 或其他包管理器来安装 scikit-image,或者手动下载并安装软件包。
阅读全文