ubuntu安装cython-bbox
时间: 2023-09-12 22:08:21 浏览: 310
引用\[1\]:这是一条非常珍贵的命令,找了好久才找到的:(有时候运行该命令一次便可以安装成功,有时候要运行好几次,这可能和网络有关。) pip install -e git+https://github.com/samson-wang/cython_bbox.git#egg=cython-bbox 📍三、 安装pycocotools 。 引用\[2\]: 最近做的项目需要安装cython_bbox包,但是当我天真的输入pip install cython_bbox准备满心欢喜的等待安装成功却发现...,它报错了,这是一个从未见过的、非常长的报错,它长这个样子: 。 引用\[3\]:pip install cython_bbox报错如下 Collecting cython_bbox Using cached cython_bbox-0.1.3.tar.gz (41 kB) 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-wcb8evni/cython-bbox_4ae61c9bb59a4b7fa79b746b9fb9560e/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. note: This is an issue with the package mentioned above, not pip. hint: See above for details. 现有的解决方法 。 问题:ubuntu安装cython-bbox
回答: 在Ubuntu上安装cython-bbox时,可能会遇到一些问题。根据引用\[1\]中提供的命令,你可以尝试运行以下命令来安装cython-bbox:pip install -e git+https://github.com/samson-wang/cython_bbox.git#egg=cython-bbox。然而,根据引用\[2\]和引用\[3\]的描述,你可能会遇到一个名为"Cython"的模块缺失的错误。这意味着你需要先安装Cython模块。你可以使用以下命令来安装Cython模块:pip install Cython。安装完成后,再次尝试安装cython-bbox包,应该就可以成功了。希望这能帮到你。
#### 引用[.reference_title]
- *1* *2* [cython_bbox库就该这么安装](https://blog.csdn.net/qq_51831335/article/details/126457486)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [ubuntu中pip install cython_bbox报错](https://blog.csdn.net/weixin_41868104/article/details/123891737)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文