当前位置:   article > 正文

安装labelme时遇到的问题及解决方案_building wheel for pyqt5-sip (pyproject.toml) did

building wheel for pyqt5-sip (pyproject.toml) did not run successfully.

目录

1.Microsoft Visual C++ 14.0 or greater is required.

2.torchvision 0.14.1+cu116 requires torch==1.13.1, which is not installed.

3.ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0i  14 Aug 2018'. 


1.Microsoft Visual C++ 14.0 or greater is required.

错误的全部代码为

  1. Building wheel for PyQt5-sip (pyproject.toml) ... error
  2. error: subprocess-exited-with-error
  3. × Building wheel for PyQt5-sip (pyproject.toml) did not run successfully.
  4. │ exit code: 1
  5. ╰─> [5 lines of output]
  6. running bdist_wheel
  7. running build
  8. running build_ext
  9. building 'PyQt5.sip' extension
  10. error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  11. [end of output]
  12. note: This error originates from a subprocess, and is likely not a problem with pip.
  13. ERROR: Failed building wheel for PyQt5-sip
  14. Failed to build PyQt5-sip
  15. ERROR: Could not build wheels for PyQt5-sip, which is required to install pyproject.toml-based projects

解决方案:Microsoft Visual C++ 14.0 is required 的终极解决办法_c++14.0-CSDN博客

2.torchvision 0.14.1+cu116 requires torch==1.13.1, which is not installed.

错误的全部代码为

  1. ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
  2. torchvision 0.14.1+cu116 requires torch==1.13.1, which is not installed.

 解决方案:ERROR: pip‘s dependency resolver does not currently take into account all the packages that are inst_error: pip's dependency resolver does not currentl-CSDN博客

 按照自己报错提示的信息进行安装,不要照搬文章里的命令

3.ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0i  14 Aug 2018'. 

 错误的全部代码为

  1. ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0i 14 Aug 2018'.
  2. See: https://github.com/urllib3/urllib3/issues/2168

解决方案:报错:ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl‘ module is compiled wi_请叫漂亮的博客-CSDN博客

 成功之后的页面:

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/47233
推荐阅读
相关标签
  

闽ICP备14008679号