Closed tikesavage closed 1 year ago
You shouldn't run the python file directly like that. If you have done a pip install
you should instead just run the command unifi-protect-backup
no luck either, tried that first.
~/.local/lib/python3.10/site-packages/unifi_protect_backup$ unifi-protect-backup
unifi-protect-backup: command not found
Have you tried logging out and back in?
yes ^^ PIP 'worked' but i reinstalled with pip3 and that resolved it for me.
my follow up is can you provide some sanitized exampled of using calling the module?
visual learner really helps
Do you mean the command line tool? The module itself is not intended to be used directly. I would suggest checking out pyunifiprotect if that's what you want.
As for how to use the tool, if you run unifi-protect-backup --help
it will explain all the options and which ones are required. It can also be found in the readme.
Description
issue with getting Python code to run.
What I Did
followed instructions for rclone with g drive. and installed python, pip and ffprobe. now need to run the code.