報(bào)錯(cuò)內(nèi)容如下圖所示:

Preparing metadata (setup.py) ... error
error: 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-a509pn1e/cython-bbox_4f8cde4aec364123b4ba34e507b2a155/setup.py", line 10, in <module>
from Cython.Build import cythonize
ModuleNotFoundError: 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.
解決辦法:
先安裝Cpython然后再安裝cython_bbox文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-514238.html
pip install Cython
pip install cython_bbox

注意在ubuntu系統(tǒng)下去安裝,在windows系統(tǒng)上我嘗試了還是安裝不成功,還沒(méi)發(fā)現(xiàn)如何解決,如果有成功方法的可評(píng)論區(qū)留言。文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-514238.html
到了這里,關(guān)于安裝cython_bbox報(bào)錯(cuò)解決辦法:Preparing metadata (setup.py) ... error error: subprocess-exited-with-error的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!