相关疑难解决方法(0)

错误:无法找到vcvarsall.bat

我试图安装Python包dulwich:

pip install dulwich
Run Code Online (Sandbox Code Playgroud)

但我得到一个神秘的错误信息:

error: Unable to find vcvarsall.bat
Run Code Online (Sandbox Code Playgroud)

如果我尝试手动安装包,也会发生同样的情况:

> python setup.py install
running build_ext
building 'dulwich._objects' extension
error: Unable to find vcvarsall.bat
Run Code Online (Sandbox Code Playgroud)

python windows pip failed-installation setup.py

842
推荐指数
18
解决办法
87万
查看次数

Cython将无法在Windows 7 x64上编译

我正在努力在Windows 7 x64上安装Cython.我下载并安装了automated MinGW installer.使用以下内容为distutils文件夹创建了distutils.cfg:

[build]
compiler = mingw32
Run Code Online (Sandbox Code Playgroud)

添加C:\MinGW\bin到环境变量后,我调用了easy_install Cython但是我收到以下错误.翻阅互联网真的没有给我有用的结果,因为所有这些编译的东西(或者我应该说sh*t?)对我来说是如此新鲜.

c:\users\niklas\appdata\local\temp\easy_install-dgjjub\cython-0.15\cython\plex\scanners.o:Scanners.c:(.text+0x5d59): undefined reference to `_imp__PyObject_GetAttr'
c:\users\niklas\appdata\local\temp\easy_install-dgjjub\cython-0.15\cython\plex\scanners.o:Scanners.c:(.text+0x5dc5): undefined reference to `_imp__PyObject_GetAttr'
c:\users\niklas\appdata\local\temp\easy_install-dgjjub\cython-0.15\cython\plex\scanners.o:Scanners.c:(.text+0x5e31): undefined reference to `_imp__PyObject_GetAttr'
c:\users\niklas\appdata\local\temp\easy_install-dgjjub\cython-0.15\cython\plex\scanners.o:Scanners.c:(.text+0x5ebc): undefined reference to `_imp__PyObject_Call'
c:\users\niklas\appdata\local\temp\easy_install-dgjjub\cython-0.15\cython\plex\scanners.o:Scanners.c:(.text+0x5f08): undefined reference to `_imp__PyDict_New'
c:\users\niklas\appdata\local\temp\easy_install-dgjjub\cython-0.15\cython\plex\scanners.o:Scanners.c:(.text+0x5f49): undefined reference to `_imp__PyObject_SetAttr'
c:\users\niklas\appdata\local\temp\easy_install-dgjjub\cython-0.15\cython\plex\scanners.o:Scanners.c:(.text+0x5ffe): undefined reference to `_imp__PyErr_Occurred'
c:\users\niklas\appdata\local\temp\easy_install-dgjjub\cython-0.15\cython\plex\scanners.o:Scanners.c:(.text+0x6013): undefined reference to `_imp__PyExc_ImportError'
c:\users\niklas\appdata\local\temp\easy_install-dgjjub\cython-0.15\cython\plex\scanners.o:Scanners.c:(.text+0x601e): undefined reference to `_imp__PyErr_SetString'
c:\users\niklas\appdata\local\temp\easy_install-dgjjub\cython-0.15\cython\plex\scanners.o:Scanners.c:(.text+0x602d): undefined reference to `_imp__PyInt_FromLong'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status …
Run Code Online (Sandbox Code Playgroud)

python 64-bit mingw cython windows-7

7
推荐指数
1
解决办法
6023
查看次数