报错解决: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的方法只对少数人管用。

相关文章
|
Ubuntu 关系型数据库 MySQL
M1 macos docker获取x86 x64 amd 等指定架构版本linux ubuntu mysql 容器并启动容器
M1 macos docker获取x86 x64 amd 等指定架构版本linux ubuntu mysql 容器并启动容器
|
存储 Linux 数据安全/隐私保护
安装部署milvus单机版(快速体验)
安装部署milvus单机版(快速体验)
3055 0
|
机器学习/深度学习 编解码 计算机视觉
【论文速递】CVPR2022-Blind2Unblind:具有可见盲点的自监督图像去噪
【论文速递】CVPR2022-Blind2Unblind:具有可见盲点的自监督图像去噪
|
网络协议
Mac根据端口查询进程id的命令
这篇文章介绍了在Mac操作系统上如何使用两种命令来查询监听特定端口的进程ID。第一种方法是使用`netstat -anp tcp -v | grep 端口号`,例如`netstat -anp tcp -v | grep 80`,这将列出所有使用端口80的TCP连接及其相关信息。第二种方法是使用`lsof -P -n -i:端口号`,例如`lsof -P -n -i:8080`,这将显示使用指定端口的进程列表,包括进程ID、用户、文件描述符等信息。文章通过示例展示了如何使用这些命令,并提供了输出结果的截图。
845 2
|
机器学习/深度学习 Python
【Python】已解决:ModuleNotFoundError: No module named ‘paddle’
【Python】已解决:ModuleNotFoundError: No module named ‘paddle’
1550 1
|
人工智能 分布式计算 算法
3D-Speaker多模态说话人问题之3D-Speaker的开源代码和数据集如何获取
3D-Speaker多模态说话人问题之3D-Speaker的开源代码和数据集如何获取
317 1
|
NoSQL 网络安全 Redis
Redis 密码设置和查看密码
【7月更文挑战第28天】
3778 3
|
机器学习/深度学习 算法 Python
【Python】已解决:ModuleNotFoundError: No module named ‘sklearn‘
【Python】已解决:ModuleNotFoundError: No module named ‘sklearn‘
8507 0
|
计算机视觉 Python
【Python】已解决:ModuleNotFoundError: No module named ‘PIL’
【Python】已解决:ModuleNotFoundError: No module named ‘PIL’
8557 0
|
并行计算 PyTorch 算法框架/工具
【已解决】RuntimeError: CuDA error: no kernel image is available for execution on the device
【已解决】RuntimeError: CuDA error: no kernel image is available for execution on the device