Collecting scikit-image==0.12.3 Using cached scikit-image-0.12.3.tar.gz (20.7 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info 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: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip
时间: 2023-07-02 10:24:15 浏览: 189
scikit-learn-1.0.2.tar.gz
根据出现的错误信息,您需要先安装 NumPy 库,然后再安装 scikit-image 库。您可以使用以下命令来安装 NumPy 库:
```
pip install numpy
```
安装完成后,您可以再次尝试安装 scikit-image 库:
```
pip install scikit-image==0.12.3
```
如果您仍然遇到问题,建议您查看 scikit-image 的官方安装指南,以确保您的环境符合所需条件。
阅读全文