编译Swigibpy Python包的错误

时间:2015-06-06 09:41:05

标签: python compilation compiler-errors

我正在尝试为Python安装Swigibpy软件包。我使用的是Windows 7 64位,Anaconda 32位(Python 2.7.9)。

https://github.com/Komnomnomnom/swigibpy

我试着按照这个帖子中的说明进行操作 Making Cython work with Python 3.4 on Anacondas, Windows 7 64-bit

安装Visual Studio for Python 2.7 ..

我收到此错误。有谁知道如何解决它?

C:\swigibpy-master>python setup.py build_ext --inplace --compiler=msvc
running build_ext
building '_swigibpy' extension
C:\Users\tmgike\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.
0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DIB_USE_STD_STRING=1 -IIB
-IIB/src -IIB/shared -IC:\Anaconda\include -IC:\Anaconda\PC /TpIB/src/EClientSoc
ketBase.cpp /Fobuild\temp.win32-2.7\Release\IB/src/EClientSocketBase.obj /D_CRT_
SECURE_NO_DEPRECATE /EHsc /wd4355 /wd4800
EClientSocketBase.cpp
IB/shared\EClientSocketBaseImpl.h(308) : error C3861: 'snprintf': identifier not
 found
error: command 'C:\\Users\\tmgike\\AppData\\Local\\Programs\\Common\\Microsoft\\
Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2

C:\swigibpy-master>

0 个答案:

没有答案