找不到vcvarsall.bat(python 3.6)

时间:2017-12-17 06:52:39

标签: python import sympy

我想导入这个:

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,我仍然遇到了同样的错误。

0 个答案:

没有答案