ubuntu中pip install cython

ubuntu中pip install cython,第1张

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

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/563768.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-03
下一篇 2022-04-03

发表评论

登录后才能评论

评论列表(0条)

保存