View previous topic :: View next topic |
Author |
Message |
xeonicxpression
Joined: 08 Aug 2009 Posts: 1
|
Posted: Sat Aug 08, 2009 7:27 pm Post subject: Python Module |
|
|
Could someone compile and post the python module please. I'm on windows and have tried everything I can to get it to compile and nothing seems to work. It would really save me a lot of time and headache.
Thanks
edit: here's what I get when I run setup.py
C:\Documents and Settings\Mark\Desktop\miniupnpc-20090807.tar\miniupnpc-20090807
>python setup.py install
running install
running build
running build_ext
building 'miniupnpc' extension
c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -IC:\Python26\include -IC:\Python26\PC /Tcminiupnpcmodule.c /Fob
uild\temp.win32-2.6\Release\miniupnpcmodule.obj
miniupnpcmodule.c
c:\python26\include\pyconfig.h(6 : fatal error C1083: Cannot open include file
: 'io.h': No such file or directory
error: command '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' fa
iled with exit status 2
I don't have io.h and can't seem to find any information about it. Is it a linux thing? Well, if someone could just compile the module and post it up that would be great. |
|
Back to top |
|
|
Xylifrost Guest
|
Posted: Sat Jan 22, 2011 12:42 am Post subject: Python Module |
|
|
Thanx
Now if people only could start to vote
Am I the only python dev here? I know I am not alone |
|
Back to top |
|
|
neorazorx
Joined: 14 May 2011 Posts: 3
|
Posted: Sun May 15, 2011 1:01 pm Post subject: |
|
|
Can anybody post what do we need in order to compile python module on Windows? _________________ http://www.pystream.com |
|
Back to top |
|
|
tarapozan
Joined: 03 Jun 2011 Posts: 1 Location: Georgia
|
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Fri Jun 03, 2011 10:48 am Post subject: Re: Python Module |
|
|
xeonicxpression wrote: |
edit: here's what I get when I run setup.py
|
I'm not really a windows user, so It is difficult for me to maintain the python module for windows.
but you should try to use setupmingw32.py instead of setup.py. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
mj234
Joined: 27 Jan 2012 Posts: 3 Location: Denmark
|
Posted: Fri Jan 27, 2012 7:16 pm Post subject: |
|
|
could someone please provide a link for the python module?
i get this whe try to compile. it seems it uses an deprecated argument on gcc:
D:\Download\miniupnpc-1.6.20120125>setupmingw32.py build
running build
running build_ext
building 'miniupnpc' extension
C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python27\include -IC:\Pytho
n27\PC -c miniupnpcmodule.c -o build\temp.win-amd64-2.7\Release\miniupnpcmodule.
o
cc1.exe: error: unrecognized command line option '-mno-cygwin'
error: command 'gcc' failed with exit status 1 |
|
Back to top |
|
|
ndhar
Joined: 02 Mar 2015 Posts: 2 Location: Indonesia
|
Posted: Tue Mar 03, 2015 9:11 am Post subject: Re: Python Module |
|
|
Xylifrost wrote: | Thanx
Now if people only could start to vote
Am I the only python dev here? I know I am not alone |
i am try to develop my research about upnp into python sir
but i'm a beginner and newbie, so need for your help |
|
Back to top |
|
|
montykit
Joined: 07 Aug 2021 Posts: 1 Location: Pakistan
|
Posted: Sat Aug 07, 2021 10:23 am Post subject: |
|
|
In using the book as you follow it , Chap. 1 ,2 ,etc. must you leave all that was entered in Sublime ,there. Or can it be cleared out as you learn a new code ? I am finding that it seems as you follow the book you must leave all this "working stuff" in sublime ,is that correct ?
Because it seems the next thing he teaches you to do may look back at something you did,in sublime, 3 or 4 pages back to work and if you don't leave all in sublime ( the enteries that work ) from previous things ,the next thing he is teaching you may not work.
Am I correct on this ? |
|
Back to top |
|
|
|