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.的原因
时间: 2024-02-15 11:28:48 浏览: 21
Weditor包,安装weditor失败,subprocess-exited-with-error
这个错误可能是由于缺少 NumPy 库导致的。Scikit-image 需要 NumPy 作为依赖项。您可以使用以下命令安装 NumPy:
```
pip install numpy
```
如果您已经安装了 NumPy,请确保它是最新版本。如果问题仍然存在,请尝试在安装 Scikit-image 之前升级 pip:
```
pip install --upgrade pip
```
如果问题仍然存在,可能需要查看详细的错误日志以了解更多信息。
阅读全文