无法找到 vcvarsall.bat cython

Unable to find vcvarsall.bat cython

我的 jupyter notebook 在尝试 运行 cython

时出错

错误是:Unable to find vcvarsall.bat

我花了一天时间阅读它并按照建议安装 Windows Visual Studio 2019 安装了 visual studio。这没有帮助。

安装 Visual Studio 2019 Build Tools 并在安装程序中选择 C++ 解决了这个问题。在带有 python 3.7 的 Anaconda 3 中,cython 可以与 visual studio c-compiler 一起正常工作。