Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing issues while running it #11

Open
theshivamsk opened this issue Apr 22, 2024 · 1 comment
Open

Facing issues while running it #11

theshivamsk opened this issue Apr 22, 2024 · 1 comment

Comments

@theshivamsk
Copy link

--> Getting this while running main.py

[Running] python -u "c:\Users\LENOVO\JARVIS\main.py"
pygame 2.5.2 (SDL 2.28.3, Python 3.12.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "c:\Users\LENOVO\JARVIS\main.py", line 15, in
from record import speech_to_text
File "c:\Users\LENOVO\JARVIS\record.py", line 8, in
from rhasspysilence import WebRtcVadRecorder, VoiceCommand, VoiceCommandResult
ModuleNotFoundError: No module named 'rhasspysilence'

=========================

--> I'm getting this while running display.py

[Running] python -u "c:\Users\LENOVO\JARVIS\display.py"
Traceback (most recent call last):
File "c:\Users\LENOVO\JARVIS\display.py", line 13, in
def on_init(state: State) -> None:
^^^^^
NameError: name 'State' is not defined

@AlexandreSajus
Copy link
Owner

The Taipy version I am using here is old, I really need to update the project at some point since I have been getting a lot of issues with this. Basically the project needs Python 3.8 to 3.11 to run so just switch to these versions of Python. You can also try updating taipy, our latest version supports Python 3.12

As for rhasspysilence, try this: #4

Let me know if this works out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants