Frekvens1
Joined: 22 Jan 2018 Posts: 2 Location: Norway
|
Posted: Mon Jan 22, 2018 12:28 am Post subject: [Python][Windows10] Failed building wheel for miniupnpc. |
|
|
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 |
|