I'm not that familiar with python, so there might be an obvious answer to this; my apologies if that is the case.
I receive the following error while running unifi-ls-clients:
Traceback (most recent call last):
File "/usr/local/bin/unifi-ls-clients", line 5, in
from pyunifi.controller import Controller
File "/usr/local/lib/python2.7/dist-packages/pyunifi/controller.py", line 6, in
import urllib.parse
ImportError: No module named parse
I'm not that familiar with python, so there might be an obvious answer to this; my apologies if that is the case.
I receive the following error while running unifi-ls-clients:
I have urllib3 installed and parse
I worked around the issue by making the import statement in controller.py, line 6:
import urllib.parse
->import parse
It works like this, but I'm not sure why and I'm not sure if this work around is appropriate.