Closed townsmcp closed 2 years ago
This looks like an issue with your python interpreter installation. Can you run the following commands and let me know the output?
which python3
python3 --version
Also, which OS are you running this on? Linux, OSX, or Windows?
@cdchris12 when I run which python3
I get the following:
/usr/bin/python3
When running python3 --version
I get:
Python 3.8.10
This is on Ubuntu 20.04.3 LTS (Linux)
Interesting; that looks correct... Can you try launching the script via this command and let me know if that works for you?
python3 get_unifi_reservations.py -b https://192.168.1.1:443 -p <pass> -u <user> -su root -sp <ssh_password> -sa 192.168.1.1 -f -vvv
If that doesn't work for you, can you also send me the output from this command as well?
pip freeze
@cdchris12 the python3 command worked
Hey. I'm looking for a bit of help. My setup is:
pip3 install -r requirements.txt
However when I run
./get_unifi_reservations.py -b https://192.168.1.1:443 -p <pass> -u <user> -su root -sp <ssh_password> -sa 192.168.1.1 -f -vvv
orbash get_unifi_reservations.py -b https://192.168.1.1:443 -p <pass> -u <user> -su root -sp <ssh_password> -sa 192.168.1.1 -f -vvv
I get the following output:Any ideas on how to get this working? I also get the same message when running
./get_unifi_reservations.py -h
orbash get_unifi_reservations.py -h
Thanks in advance