Problems with compiling C code in Python

后端 未结 3 415
萌比男神i
萌比男神i 2021-01-25 14:27

I use Anaconda for Python 2.7.10 in Windows 7, 64 bit. I also use Visual Studio 2010. I installed Microsoft Visual Studio for Python.

When I try to compile a C code in

3条回答
  •  感动是毒
    2021-01-25 15:06

    Comment the line in setup.py that say libraries=['m'], and run again.

    The need to link to m might be a GCC thing to link Math library, that is managed by MSVCR in Windows environment.

提交回复
热议问题