成功解决ERROR: Could not build wheels for bottleneck, which is required to install pyproject.toml-based

成功解决ERROR: Could not build wheels for bottleneck, which is required to install pyproject.toml-based projects


解决问题

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/
—————————————-
ERROR: Failed building wheel for bottle

 

升级pip和setuptools
pip和setuptools的版本过旧也会导致安装问题。可以使用以下命令来升级pip和setuptools:

plaintextCopy codepip install –upgrade pip setuptools

物联沃分享整理
物联沃-IOTWORD物联网 » 成功解决ERROR: Could not build wheels for bottleneck, which is required to install pyproject.toml-based

发表评论