Installation of numpy in PyCharm on Windows

2019-03-01 03:07发布

问题:

I keep getting errors when I try to install numpy in Pycharm (Windows)

This is the error I get C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'define_macros'

warnings.warn(msg)

error: Unable to find vcvarsall.bat

Is there an easier way to use SciPy/Numpy on Windows, by using a different IDE?

Thanks!

回答1:

Use WinPython.

It's a single installation that includes SciPy and NumPy. Then you should be able to use those modules inside PyCharm.