seraph
seraph

Reputation: 77

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.

Upvotes: 2

Views: 2345

Answers (1)

seraph
seraph

Reputation: 77

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.

Upvotes: 2

Related Questions