Read the statement by Michael Teeuw here.
Kalliope assistant + MM
-
I don’t know what you mean by having all info in one place
What I mean is:
People already has MM installed, so they go to MMM-kalliope in hope to just get it working/installed, but instead just find:
Module to bind Kalliope with your Magic Mirror.
…
Note: On Kalliope, a neuron is available to talk with this module directly.Huh!? WTF is a neuron!? What is that? Well…ok.
So they go to kalliope_neuron_magic_mirror and find the same screenshot there…but still no installation info to follow. Eh, what does this do, and why is not just part of the MMM? Circular back link to MMM-kalliope, since there is no ref link back to main kalliope.
By this time I’m already annoyed, but try to persist and follow:
Then … I have to follow the next link:
Please follow the right link bellow to install requirements depending on your target environment:
Raspbian (Raspberry Pi 2 & 3)and the next one…and now I’m totally sick of shitty instructions. And whatever was good, I’ve already forgotten.
One page please!?
I think it should be simple enough for you guys to do, especially for simple unified devices like the RPi’s, where everyone is pretty much running the same stuff.
-
A hot KISS tip for writing any kind of SW installation documentation:
- Ask your girlfriend, boyfriend or 9 year old kid, who has not used it before to follow it.
Could they complete it within 1 hour?
No? - Then it’s shit written documentation.
-
I just want to inform the rest of the forum members, that in case you think I come across as a bit hardass here, I’m in good contact with @sispheor who I think understand now, what the problems are.
What are they?
- How to make great project modules more reachable outside the developer expert community!
- Everyone want to talk to their computers, Google, Alexa, Siri, Jarvis, AI-this-that-and-what-not!
-
We have added a single line command install for Kalliope.
Tested on a single Raspberry Pi, both project fit perfectly and the whole can be installed in two command line.
Thanks for your feedback !
-
@sispheor said in Kalliope assistant + MM:
We have added a single line command install for Kalliope.
Is it for the MMM-kalliope?
Fantastic! Sound like music to our ears!
-
No it’s for Kalliope core. MMM-Kalliope need to be installed via only a clone of the module as usual.
And the kalliope neuron can be installed via the kalliope CLI. It’s in the doc of each community neuron.
-
@sispheor when trying to install Kalliope on a freshly installed system, I have 2 errors
Searching for SpeechRecognition>=3.7.1 Reading https://pypi.python.org/simple/SpeechRecognition/ No local packages or working download links found for SpeechRecognition>=3.7.1 error: Could not find suitable distribution for Requirement.parse('SpeechRecognition>=3.7.1')
Searching for apscheduler>=3.3.1 Reading https://pypi.python.org/simple/apscheduler/ Downloading https://pypi.python.org/packages/c4/16/8be21944c787ef13cd7581c62d446053d079f36aa54ef20b5b45b378944d/APScheduler-3.5.1.tar.gz#md5=18c2050f24bad3dd82e17dd4b5f182df Best match: APScheduler 3.5.1 Processing APScheduler-3.5.1.tar.gz Writing /tmp/easy_install-NmMSMf/APScheduler-3.5.1/setup.cfg Running APScheduler-3.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-NmMSMf/APScheduler-3.5.1/egg-dist-tmp-px4K5B File "build/bdist.linux-armv7l/egg/apscheduler/executors/base_py3.py", line 12 async def run_coroutine_job(job, jobstore_alias, run_times, logger_name): ^ SyntaxError: invalid syntax creating /usr/local/lib/python2.7/dist-packages/APScheduler-3.5.1-py2.7.egg Extracting APScheduler-3.5.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages File "/usr/local/lib/python2.7/dist-packages/APScheduler-3.5.1-py2.7.egg/apscheduler/executors/base_py3.py", line 12 async def run_coroutine_job(job, jobstore_alias, run_times, logger_name): ^ SyntaxError: invalid syntax
then a little excitement, add the starter configuration to rpi_install_kalliope.sh, and let the user during the installation choose which language he wants to install
-
@NoNameRo said in Kalliope assistant + MM:
SpeechRecognition
Hi,
I had this one time.
Can you try to install the lib manually?sudo pip install SpeechRecognition
Then run the install again from the kalliope folder (in /home/pi)
sudo python setup.py
It’s weird, sometime pip doesn’t find this lib.
-
You should not have the pip installation in that script without:
- checking if it is already installed
- make sure what python version your using. pip2 or pip3?
- allow user to cancel that installation, if they know they already have it
Most of the time, if you have both Py2 and Py3 installed,
pip
would apply to Py2 andpip3
to Py3. -
@sispheor SpeechRecognition was successfully installed, but sudo python setup.py has another error
pi@MagicMirror:~/kalliope $ sudo python setup.py usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: no commands supplied