pip install --use-pep517 scikit-image==0.12.3 --no-cache-dir Defaulting to user installation because normal site-packages is not writeable Collecting scikit-image==0.12.3 Downloading scikit-image-0.12.3.tar.gz (20.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.7/20.7 MB 23.6 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... error 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-07-02 07:24:15 浏览: 254
scikit-image-0.16.2.tar.gz
这个错误提示显示你需要安装numpy依赖项。你可以尝试运行以下命令安装numpy:
```
pip install numpy
```
然后再次尝试安装scikit-image:
```
pip install --use-pep517 scikit-image==0.12.3 --no-cache-dir
```
如果问题仍然存在,可能是由于其他依赖项或系统设置的问题,建议查看错误提示的详细信息,以便更好地了解问题的原因。
阅读全文