python No module named numpy. distutils._msvccompiler in numpy. distutils; trying from distutils

在cmd 中输入 python setup.py install

报错:No module named numpy. distutils._msvccompiler in numpy. distutils; trying from distutils、

解决方法:

安装Visual Studio 2019 生成工具  选择安装c++生成工具  (根据python版本选择)

python No module named numpy. distutils._msvccompiler in numpy. distutils; trying from distutils_第1张图片

参考文章:https://wiki.python.org/moin/WindowsCompilers

 

你可能感兴趣的:(python,setup.py,distutils,No,module)