Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

pip on windows error #52

Open
merlink01 opened this issue Oct 13, 2015 · 2 comments
Open

pip on windows error #52

merlink01 opened this issue Oct 13, 2015 · 2 comments

Comments

@merlink01
Copy link

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?

@kitech
Copy link
Collaborator

kitech commented Oct 29, 2015

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.

@merlink01
Copy link
Author

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants