我想导入这个:
from sympy.utilities.autowrap import ufuncify
然而,当我尝试实际使用ufuncify时(我在导入时没有收到错误)......我收到错误:
sympy.utilities.autowrap.CodeWrapError: Error while executing command: C:\python36\pythonw.exe setup.py build_ext --inplace. Command output is:
running build_ext
running build_src
build_src
building extension "wrapper_module_0" sources
build_src: building npy-pkg config files
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
building 'wrapper_module_0' extension
compiling C sources
error: Unable to find vcvarsall.bat
我曾尝试安装Visual Studio 2017,但尽管卸载并重新安装了sympy,我仍然遇到了同样的错误。