User avatar
XueHai8
Posts: 46
Joined: Mon Jul 24, 2017 12:19 pm

Buster: No python miniupnpc library

Sat Jul 13, 2019 8:41 am

Can't seem to find this package, python-miniupnpc, anymore.

Did:

Code: Select all

apt-cache search miniupnpc
libminiupnpc-dev - UPnP IGD client lightweight library development files
libminiupnpc17 - UPnP IGD client lightweight library
minissdpd - keep memory of all UPnP devices that announced themselves
miniupnpc - UPnP IGD client lightweight library client
python3-miniupnpc - UPnP IGD client lightweight library Python 3 bindings

So I installed python3-miniupnpc:

Code: Select all

 apt-get install python3-miniupnpc
But that doesn't work in python:

Code: Select all

Traceback (most recent call last):
  File "./my.py", line 40, in <module>
    import miniupnpc
ImportError: No module named miniupnpc
What am I missing here?

Thanks!

User avatar
XueHai8
Posts: 46
Joined: Mon Jul 24, 2017 12:19 pm

Re: Buster: No python miniupnpc library

Sat Jul 13, 2019 9:14 am

Never mind. Found the answer: Use PIP instead:

Code: Select all

apt-get install python-pip
pip install miniupnpc
:D

Return to “Troubleshooting”