Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install miniupnpc as a python module on windows

I want to use UPnP in my python scripts, so I tried to install miniupnpc through pip install miniupnpc. But It causes an error a little bit after the installation starts:

ERROR: Command errored out with exit status 1:

         cwd: C:\Users\sammy\AppData\Local\Temp\pip-install-jrjs0fss\miniupnpc\
    Complete output (4 lines):
    running install
    running build
    running build_ext
    error: [WinError 2] The system cannot find the file specified
    ----------------------------------------

I checked the GitHub but I don't know where to find the tools I need to compile the python module or how to use them.

like image 615
seraph Avatar asked Dec 19 '25 08:12

seraph


1 Answers

I believe at the time the library was a little bit bugged, I never worked out the issue in the end, I recommend looking for other tools.

It is also worth mentioning I wasn't a very good programmer back then, I now actually understand the nature of libraries and packages.

like image 107
seraph Avatar answered Dec 21 '25 00:12

seraph



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!