G:\Soft\python\word_cloud-master>python setup.py install

error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

本机已经安装了VS2015,可以通过增加以下环境变量来解决:

error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

再次安装,提示:

RuntimeError: Broken toolchain: cannot link a simple C program

通过修改D:\IDE\Python27\Lib\distutils\msvc9compiler.py文件中的mfinfo=none进行解决

再次安装,提示:

error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

 

问题参考:https://github.com/matplotlib/matplotlib/issues/3029/,问题未解决。

 

通过PIP进行Python包管理,首先下载安装pip,然后通过C:\Users\yan>pip install wordcloud 进行安装。

 

相关文章:

  • 2022-12-23
  • 2021-07-31
  • 2021-09-19
  • 2021-04-05
  • 2021-09-26
  • 2021-12-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-07
  • 2021-05-09
  • 2022-01-23
  • 2021-11-09
  • 2022-12-23
相关资源
相似解决方案