rcbyron / hey-athena-client

Your personal voice assistant
https://heyathena.com
MIT License
421 stars 98 forks source link

Help to run athena-voice-client Fedora Linux #15

Closed kuboosoft closed 8 years ago

kuboosoft commented 8 years ago

Hi. I am trying to create an RPM for Fedora Linux. I builded a rpm for all dependencies for athena-voice-client, but I don't found a python module. Can you help? Who provides "client"? thanks.

Log:

[makerpm@localhost client]$ python3 brain.py Traceback (most recent call last): File "brain.py", line 12, in import client.stt as stt ImportError: No module named 'client'

rcbyron commented 8 years ago

Hi there! This error is because the project/client directory needs to be in your operating system's PYTHONPATH environment variable. The "client" module is a custom Athena module and isn't in the default import path. I am, however, currently looking into ways to automatically add it to the PYTHONPATH. If you have bash, try this command "export PYTHONPATH=${PYTHONPATH}:/" (taken from here: https://users-cs.au.dk/chili/PBI/pythonpath.html)

Let me know how that goes!

Thanks, Connor

rcbyron commented 8 years ago

After manually installing PyAudio, you can now use "pip install AthenaVoice". This should fix the PYTHONPATH issue since athena will install to site-packages (already in the default PYTHONPATH).

kuboosoft commented 8 years ago

Thanks I will try again.