有时候在import numpy时会报错:DLL load failed while importing _multiarray_umath: 找不到指定的模块......网上搜了一下,是环境变量的问题。解决方案为:在pycharm中依次选择Run、Edit Configurations、Environment Variables,在方框的已有项的后面添加:Path=Anaconda根目录\Library\bin,就像这样:
然后再import numpy,发现没有报错,程序能正常运行。
有时候在import numpy时会报错:DLL load failed while importing _multiarray_umath: 找不到指定的模块......网上搜了一下,是环境变量的问题。解决方案为:在pycharm中依次选择Run、Edit Configurations、Environment Variables,在方框的已有项的后面添加:Path=Anaconda根目录\Library\bin,就像这样:
然后再import numpy,发现没有报错,程序能正常运行。