ubuntu中pip install cython_bbox报错

pip install cython_bbox报错

问题记录

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 "", line 2, in <module>
        File "", 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.

现有的解决方法

网上现有的参考方法:
方法1
方法2
试验了一下,不行!

我的解决办法

cython_bbox安装不上,先安装cython试一下,再安装cython_bbox。

pip install cython
pip install cython_bbox

ubuntu中pip install cython_bbox报错_第1张图片

你可能感兴趣的:(图像处理学习,opencv,计算机视觉,人工智能)