报错解决:Could not build wheels for soxr, which is required to install pyproject.toml-based projects(可用)

简介: 链接如下:【金山文档】 1-Microsoft Visual C++ Build Tools。找了好久,才找到正确的解决方案,网上一大堆升级setuptools的方法只对少数人管用。注意,虽然我的这个报错内容有点长,但是我感觉和其它的。如果网页提示登录,可以不用登录,直接下载即可。然后打开镜像ios文件(双击即可)错误是一样的解决方案。文件,打开后安装即可。

报错内容如下:

  error: subprocess-exited-with-error

  × Building wheel for soxr (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [30 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-37
      creating build\lib.win-amd64-cpython-37\soxr
      copying src\soxr\version.py -> build\lib.win-amd64-cpython-37\soxr
      copying src\soxr\__init__.py -> build\lib.win-amd64-cpython-37\soxr
      running egg_info
      writing src\soxr.egg-info\PKG-INFO
      writing dependency_links to src\soxr.egg-info\dependency_links.txt
      writing requirements to src\soxr.egg-info\requires.txt
      writing top-level names to src\soxr.egg-info\top_level.txt
      reading manifest file 'src\soxr.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching 'src\soxr\*.pyd'
      warning: no previously-included files matching '__pycache__' found anywhere in distribution
      warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
      warning: no previously-included files matching '.*' found anywhere in distribution
      adding license file 'LICENSE.txt'
      adding license file 'COPYING.LGPL'
      writing manifest file 'src\soxr.egg-info\SOURCES.txt'
      copying src\soxr\__init__.pxd -> build\lib.win-amd64-cpython-37\soxr
      copying src\soxr\csoxr.pxd -> build\lib.win-amd64-cpython-37\soxr
      copying src\soxr\cysoxr.c -> build\lib.win-amd64-cpython-37\soxr
      copying src\soxr\cysoxr.pyx -> build\lib.win-amd64-cpython-37\soxr
      copying src\soxr\soxr-config.h -> build\lib.win-amd64-cpython-37\soxr
      running build_ext
      building 'soxr.cysoxr' 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

注意,虽然我的这个报错内容有点长,但是我感觉和其它的error: subprocess-exited-with-error错误是一样的解决方案。

首先,下载以下网盘内的文件:
链接如下:【金山文档】 1-Microsoft Visual C++ Build Tools
https://kdocs.cn/l/cnqZG0GcHMH2
如果网页提示登录,可以不用登录,直接下载即可

下载完以后有如下几个文件:
在这里插入图片描述
然后打开镜像ios文件(双击即可)
在这里插入图片描述
然后双击VisualCppBuildTools_Full文件,打开后安装即可。
在这里插入图片描述
在这里插入图片描述
找了好久,才找到正确的解决方案,网上一大堆升级setuptools的方法只对少数人管用。

相关文章
Ninja is required to load C++ extensions | 问题解决
Ninja is required to load C++ extensions | 问题解决
|
2天前
|
PHP
执行 composer 命令出现Warning: This development build of composer is over 60 days old.
执行 composer 命令出现Warning: This development build of composer is over 60 days old.
8 0
|
1月前
|
Java 定位技术 Android开发
安装apk显示 requires unavailable shared library com.xxx
安装apk显示 requires unavailable shared library com.xxx
17 0
如何解决 conda install 库时报错:The environment is inconsistent, please check the package plan carefully
如何解决 conda install 库时报错:The environment is inconsistent, please check the package plan carefully
如何解决 conda install 库时报错:The environment is inconsistent, please check the package plan carefully
|
10月前
|
Ubuntu
问题解决:Ubuntu安装ROS依赖出现ERROR: the following packages/stacks could not have their rosdep keys resolvedt
问题解决:Ubuntu安装ROS依赖出现ERROR: the following packages/stacks could not have their rosdep keys resolvedt
991 0
|
10月前
ubuntu16.04中ROS-Kinetic报错: not find a package configuration file provided by “gazebo_ros_control“
ubuntu16.04中ROS-Kinetic报错: not find a package configuration file provided by “gazebo_ros_control“
|
Linux 开发者 Windows
Flutter报错Building with plugins requires symlink support的解决方法
Flutter报错Building with plugins requires symlink support的解决方法
|
Java Maven
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
解决ERROR: Cannot uninstall ‘llvmlite‘. It is a distutils installed project and thus we cannot accurat
解决ERROR: Cannot uninstall ‘llvmlite‘. It is a distutils installed project and thus we cannot accurat
802 0
解决ERROR: Cannot uninstall ‘llvmlite‘. It is a distutils installed project and thus we cannot accurat
Conda 卸载包报错:PackagesNotFoundError: The following packages are missing from the target environment:
Conda 卸载包报错:PackagesNotFoundError: The following packages are missing from the target environment:
Conda 卸载包报错:PackagesNotFoundError: The following packages are missing from the target environment: