RDFLib needs C compilation extensions to install on ActiveState Python 2.5; as far as I can tell, there is no binary installer, wherever it is obvious on the Internet. When you try to install using python setup.py installit, it displays the following message:
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin installed,
you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
There are various resources on the Internet about configuring the compiler for distutils that discuss the use of MinGW, although I have no work yet. As an alternative, I have VS2005.
Can anyone categorically tell me if you can use the C compiler in VS2005 to create Python extension modules for compiled Python VS2003 (in this case, ActiveState Python 2.5). If possible, what configuration is needed?
source
share