ModuleNotFoundError: No module named 'Cython' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> scikit-learn note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
时间: 2023-05-14 17:07:13 浏览: 328
这个错误提示是由于缺少Cython模块导致的,您可以尝试使用pip install Cython来安装该模块,然后再次尝试安装scikit-learn。如果问题仍然存在,请检查您的环境变量和Python版本是否正确。
阅读全文