miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Python Module

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation
View previous topic :: View next topic  
Author Message
xeonicxpression



Joined: 08 Aug 2009
Posts: 1

PostPosted: Sat Aug 08, 2009 7:27 pm    Post subject: Python Module Reply with quote

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(6Cool : 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
View user's profile Send private message
Xylifrost
Guest





PostPosted: Sat Jan 22, 2011 12:42 am    Post subject: Python Module Reply with quote

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

PostPosted: Sun May 15, 2011 1:01 pm    Post subject: Reply with quote

Can anybody post what do we need in order to compile python module on Windows?
_________________
http://www.pystream.com
Back to top
View user's profile Send private message
tarapozan



Joined: 03 Jun 2011
Posts: 1
Location: Georgia

PostPosted: Fri Jun 03, 2011 7:42 am    Post subject: Reply with quote

Python language is too buggy use c++ )
i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85
i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85
i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85
i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85
i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85
i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85
i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85i85
i85i85i85i85i85i85i85i85i85i85i85i85i85
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо


Last edited by tarapozan on Sat Sep 22, 2018 5:16 am; edited 4 times in total
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1445

PostPosted: Fri Jun 03, 2011 10:48 am    Post subject: Re: Python Module Reply with quote

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.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
mj234



Joined: 27 Jan 2012
Posts: 3
Location: Denmark

PostPosted: Fri Jan 27, 2012 7:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
ndhar



Joined: 02 Mar 2015
Posts: 2
Location: Indonesia

PostPosted: Tue Mar 03, 2015 9:11 am    Post subject: Re: Python Module Reply with quote

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
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.