kalliope-project / kalliope

Kalliope is a framework that will help you to create your own personal assistant.
https://kalliope-project.github.io/
GNU General Public License v3.0
1.71k stars 229 forks source link

Install seems to fail #684

Closed crazycatdevs closed 1 year ago

crazycatdevs commented 1 year ago

Hi there,

I'm using a RPi 2 with raspbian 11 (bullseye) and when I try to install Kalliope using the script, I got this (only showing end of installation):

  adding 'kalliope-0.7.2.dist-info/entry_points.txt'
  adding 'kalliope-0.7.2.dist-info/top_level.txt'
  adding 'kalliope-0.7.2.dist-info/RECORD'
  removing build/bdist.linux-armv7l/wheel
  Building wheel for kalliope (setup.py) ... done
  Created wheel for kalliope: filename=kalliope-0.7.2-py3-none-any.whl size=4434685 sha256=0fe0e5e337e8bf45bcf919854dd2ad246f630839db97d2ba25dc81dd2fbe11d6
  Stored in directory: /tmp/pip-ephem-wheel-cache-duiezs63/wheels/2a/89/77/efb4b1daa92fb04da6e3f7d1821e51ade8a011f760e7a67fb8
Successfully built kalliope
Installing collected packages: pyyaml, pytz-deprecation-shim, pycparser, Pillow, packaging, mock, markupsafe, itsdangerous, importlib-metadata, httpretty, greenlet, gitdb, future, et-xmlfile, dominate, click, charset-normalizer, attrs, Werkzeug, tzlocal, timingsutil, requests, openpyxl, logging-helper, jinja2, GitPython, gevent, cffi, SpeechRecognition, SoundFile, sounddevice, gTTS, flask, conversionutil, apscheduler, ansible-core, Flask-Testing, Flask-Restful, flask_cors, ansible, tableutil, classutils, stateutil, uiutil, configurationutil, fdutil, cachingutil, voicerss_tts, kalliope
  Attempting uninstall: pyyaml
    Found existing installation: PyYAML 5.3.1
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Installing Kalliope...[OK]
"default-server = /var/run/pulse/native" already in /etc/pulse/client.conf
"autospawn = no" already in /etc/pulse/client.conf
crazycat is already a member of the group pulse-access
"load-module module-alsa-sink" already in /etc/pulse/system.pa
"set-default-sink alsa_output.hw_0_0" already in /etc/pulse/system.pa
Pulseaudio service already existing
Installing pulseaudio service..[OK]
Remember to setup speaker and microphone properly.
https://kalliope-project.github.io/kalliope/installation/raspbian/#microphone-and-speaker-configuration

So I try to run it:

crazycat@raspbian:~$ kalliope start --debug
bash: kalliope : commande introuvable

And /usr/local/bin/kalliope doesn't exists

Any idea about this trouble ?

crazycatdevs commented 1 year ago

Auto response :) The installer lies, the error with PyYAML breaks the install. So I manually upgrade it: sudo -H pip3 install --ignore-installed PyYAML