-
I struggle to use your miiocli tool on windows 10. I have python 3.8.5 installed. I installed python-miio through pip and see your libraries have been added to python's lib folder. However, when trying to run "miiocli --help" in windows cmd I'm getting "'miiocli' is not recognized". When running it from python's IDLE I'm getting "NameError: name 'miiocli' is not recognized". What else can I do? Or maybe I'm doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
So, I don't have any idea about how Windows works in this case, but quick browsing suggests that you have to add |
Beta Was this translation helpful? Give feedback.
-
Hello. When issuing "miiocli --help" an error "Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
So, I don't have any idea about how Windows works in this case, but quick browsing suggests that you have to add
Scripts
folder to your path to make use of installed scripts (likemiiocli
). https://docs.python.org/3/using/windows.html#finding-the-python-executable suggests that the python installer offers doing this for you, do you see the correct path in your%PATH%
? Themiiocli
should be installed inside thatScripts
folder.