Read the statement by Michael Teeuw here.
Install MMM-GoogleAssistant on windows, error: argument --credentials: No such file or directory: "***credentials.json"
-
I change this to :
default=‘C:\Users\myname\AppData\Roaming\google-oauthlib-tool\credentials.json’,And another issue appeared:
$ /c/Users/myname/env/Scripts/python -u assistant.py
pubnub subscription completed
Traceback (most recent call last):
File “assistant.py”, line 140, in
main()
File “assistant.py”, line 137, in main
init_googleAssistant()
File “assistant.py”, line 131, in init_googleAssistant
with Assistant(credentials,“873445380749-it4rg69bo0sbrqg69upkorp79m6mbq0d.apps.googleusercontent.com”) as assistant:
File “C:\Users\myname\env\lib\site-packages\google\assistant\library\assistant.py”, line 90, in init
self._load_lib()
File “C:\Users\myname\env\lib\site-packages\google\assistant\library\assistant.py”, line 270, in _load_lib
self.lib = cdll.LoadLibrary(lib_path)
File "c:\python38\lib\ctypes_init.py", line 451, in LoadLibrary
return self.dlltype(name)
File "c:\python38\lib\ctypes_init.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
hello from python!! -
@vivian0239 I don’t think he has tested on windows.
I suspect the voice reco tool, snowboy, still does not work on windows
-
Thank you for your reply! It’s really bad news.
-
@vivian0239 I am sure @Bugsounet will clarify
-
snowboy CAN works in windows but with a LOT of modifications and still very too complex
so i prefer say this: actually there is no way to work under windows environement
-
Thank you for your reply!
-
best way for using MagicMirror and
complex
module under windows is virtualization of a linux debian machine- virtualbox
- download linux debian and install it in virtualbox
- install magicmirror and modules :)
result:
- full emulation of linux machine
- all package is compatible with debian because rapsbian Os is make is a modified debian version
- snowboy works (but not sure this wersion of this module works… because google make a lot of library update)
at begining, i have coded with this method ;)
-
@Bugsounet will MagicMirror in docker container work?
-
never try