PyTox icon indicating copy to clipboard operation
PyTox copied to clipboard

pip on windows error

Open merlink01 opened this issue 9 years ago • 2 comments

python.exe -m pip install git+https://github.com/kitech/PyTox.git@master

...\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tcpytox/pytox.c /Fobuild\temp.win32-2.7\Release\pytox/pytox.obj -Wall -Wno-declaration-after-statement -DENABLE_AV

cl : Command line error D8021 : invalid numeric argument '/Wno-declaration-after-statement'

Anybody an idea?

merlink01 avatar Oct 13 '15 08:10 merlink01

First, kitech/PyTox.git@master has already merged to aitjcize/PyTox@master, just use the latter repo.

I don't have a windows system computer, can't test for you. maybe you can try linux system for test. But it's seems the -Wno-declaration-after-statement param only for gcc, you can try open setup.py and remove this param, then recompile it.

kitech avatar Oct 29 '15 04:10 kitech

Hi Kitech,

thank you for your reply. I'm normaly always compiling on Linux so I'm new to compiling on Windows.

I tested the aitjcize Version now and got the same result.

Are there any Windows geeks who have a guide how to compile this on windows?

merlink01 avatar Nov 05 '15 11:11 merlink01