目录
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.
1.Microsoft Visual C++ 14.0 or greater is required.
错误的全部代码为
Building wheel for PyQt5-sip (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for PyQt5-sip (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
running bdist_wheel
running build
running build_ext
building 'PyQt5.sip' extension
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/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PyQt5-sip
Failed to build PyQt5-sip
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.
错误的全部代码为
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.
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'.
错误的全部代码为
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0i 14 Aug 2018'.
See: https://github.com/urllib3/urllib3/issues/2168
成功之后的页面: