|
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? |
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 |
|
Hello. When issuing "miiocli --help" an error "Traceback (most recent call last): |

So, I don't have any idea about how Windows works in this case, but quick browsing suggests that you have to add
Scriptsfolder 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%? Themiioclishould be installed inside thatScriptsfolder.