本文主要是介绍ubuntu中pip install cython_bbox报错,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
pip install cython_bbox报错
问题记录
pip install cython_bbox报错如下
Collecting cython_bboxUsing cached cython_bbox-0.1.3.tar.gz (41 kB)Preparing metadata (setup.py) ... errorerror: subprocess-exited-with-error× python setup.py egg_info did not run successfully.│ exit code: 1╰─> [6 lines of output]Traceback (most recent call last):File "<string>", line 2, in <module>File "<pip-setuptools-caller>", line 34, in <module>File "/tmp/pip-install-wcb8evni/cython-bbox_4ae61c9bb59a4b7fa79b746b9fb9560e/setup.py", line 10, in <module>from Cython.Build import cythonizeModuleNotFoundError: No module named 'Cython'[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.
hint: See above for details.
现有的解决方法
网上现有的参考方法:
方法1
方法2
试验了一下,不行!
我的解决办法
cython_bbox安装不上,先安装cython试一下,再安装cython_bbox。
pip install cython
pip install cython_bbox
这篇关于ubuntu中pip install cython_bbox报错的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!