解决PyCharm安装‘cvxopt‘包失败问题

查看命令窗口输出,问题如下

error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": Microsoft C++ Build Tools - Visual Studio

  ----------------------------------------

  ERROR: Failed building wheel for cvxopt

ERROR: Could not build wheels for cvxopt, which is required to install pyproject.toml-based projects

 解决方法:

在所建的虚拟环境安装相应的Microsoft C++ Build Tools环境,参考此篇帖子Microsoft Visual C++ 14.0 is required._哈哈哈,冲冲冲的博客-CSDN博客

下载完所需条件后,下载安装cvxopt库成功。 

你可能感兴趣的:(pycharm,ide,python)