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

Help, I get an error on "kalliope --version" #668

Closed QwertyTheHedgehog closed 2 years ago

QwertyTheHedgehog commented 2 years ago

Whenever I do kalliope --version or any kalliope commands, it gives me this error

Traceback (most recent call last): File "/usr/local/bin/kalliope", line 6, in from pkg_resources import load_entry_point File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3191, in @_call_aside File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3175, in _call_aside f(*args, **kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3204, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 583, in _build_master ws.require(requires) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'sounddevice>=0.3.13' distribution was not found and is required by kalliope

Sispheor commented 2 years ago

Try pip3 install sounddevice>=0.3.13

QwertyTheHedgehog commented 2 years ago

Got almost the same error.

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 583, in _build_master ws.require(requires) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (requests 2.21.0 (/usr/lib/python3/dist-packages), Requirement.parse('requests>=2.22.0'), {'kalliope'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/kalliope", line 6, in from pkg_resources import load_entry_point File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3191, in @_call_aside File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3175, in _call_aside f(*args, **kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3204, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 585, in _build_master return cls._build_from_requirements(requires) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 598, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'requests>=2.22.0' distribution was not found and is required by kalliope

I figure i have to install the dependencies that it is telling me to?

QwertyTheHedgehog commented 2 years ago

If it helps, i'm on a Raspberry Pi Zero W.

Sispheor commented 2 years ago

Seems that Kalliope is not installed. What procedure did you follow? Btw, this rpi version is not officially supported. And I think it will not be powerful enough to handle the app.

Sispheor commented 2 years ago

Follow the doc to install. It's why it exists.

The rpi zero will be too slow for this.

And finally, the snowboy trigger engine is not compiled for this arm version. You will have to search into issues to find how the community workaround this.