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][Windows10] Failed building wheel for miniupnpc.

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



Joined: 22 Jan 2018
Posts: 2
Location: Norway

PostPosted: Mon Jan 22, 2018 12:28 am    Post subject: [Python][Windows10] Failed building wheel for miniupnpc. Reply with quote

Hey!

==Some words before I begin==============================

I am currently using Python 2.7 and are really interested in this library.
However, I am unable to find any useful information on either Google or
Bing, but was lucky enough to find this forum!

My goal is to use Python, and only python, to open a specific port via UPnP
on my router.

=================================================

I don't have access to either Linux nor Mac, but really want to install this
library. I've tried installing it using pip:
python -m pip install miniupnpc

I wonder if someone might be able to help me out of this mess. Output:

Code:

python -m pip install miniupnpc
Collecting miniupnpc
  Using cached miniupnpc-2.0.2.tar.gz
Building wheels for collected packages: miniupnpc
  Running setup.py bdist_wheel for miniupnpc ... error
  Complete output from command C:\Python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\frekve~1\\appdata\\local\\temp\\pip-build-kfbob1\\miniupnpc\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d c:\users\frekve~1\appdata\local\temp\tmpaixrimpip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  running build_ext
  error: [Error 2] The system cannot find the file specified

  ----------------------------------------
  Failed building wheel for miniupnpc
  Running setup.py clean for miniupnpc
Failed to build miniupnpc
Installing collected packages: miniupnpc
  Running setup.py install for miniupnpc ... error
    Complete output from command C:\Python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\frekve~1\\appdata\\local\\temp\\pip-build-kfbob1\\miniupnpc\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\frekve~1\appdata\local\temp\pip-kix31x-record\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_ext
    error: [Error 2] The system cannot find the file specified

    ----------------------------------------
Command "C:\Python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\frekve~1\\appdata\\local\\temp\\pip-build-kfbob1\\miniupnpc\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\frekve~1\appdata\local\temp\pip-kix31x-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\frekve~1\appdata\local\temp\pip-build-kfbob1\miniupnpc\


Thanks in advance!

With kind regards,
Frekvens1
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1451

PostPosted: Tue Jan 23, 2018 8:39 pm    Post subject: Reply with quote

I'm sorry, I'm not a PIP user.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Frekvens1



Joined: 22 Jan 2018
Posts: 2
Location: Norway

PostPosted: Tue Jan 23, 2018 10:03 pm    Post subject: Reply with quote

No worries! Do you perhaps know of another way to install it? I am willing to try new approaches! Very Happy
Back to top
View user's profile Send private message
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.