Umesh-01 / Python-Assistant

Python Assistant (PA) is a voice command based assistant service written in Python 3.9+. It can recognize human speech or voice, talk to user and execute basic commands.
MIT License
79 stars 53 forks source link

Python version related issues #48

Open solletravinder opened 2 years ago

solletravinder commented 2 years ago

For Python 3.9, ecapture is giving an issue while installing. (installed Visual Studio Build Tools as well) And then I switched to Python3.7(because ecapture works with python3.7), now pyaudio is giving an issue.

Kindly help here.

solletravinder commented 2 years ago

PS: Which environment are you using for this? Virtualenv or conda?

Sabyasachi-Seal commented 2 years ago

I was facing the same issue. Using Python Version 3.9.10 helped. Also, the mingw(3.9.7) installation was conflicting with the windows store version.

Simple Solution is to use pip install ecapture==0.0.7

Umesh-01 commented 2 years ago

@solletravinder is your problem solved??

solletravinder commented 2 years ago

Hi @Umesh-01 @Sabyasachi-Seal, yes it's resolved, thanks to both of you. More power to you, guys.

solletravinder commented 2 years ago

Hi, @Sabyasachi-Seal Please help here, if you also came across this issue? On RCA, found out that it's a "pyttsx3" dependency issue. "pyttsx3" engine initialization is raising this issue.

image

Sabyasachi-Seal commented 2 years ago

@solletravinder Im sorry but I havent come across this issue yet. Colud you try with the windowssore version of Python 3.9 and confirm if the issue exists? Seems like a version issue.

solletravinder commented 2 years ago

@Sabyasachi-Seal Okay, I will check and let you know.

solletravinder commented 2 years ago

@Sabyasachi-Seal Hi, it didn't work even with the windows store version.

Sabyasachi-Seal commented 2 years ago

@solletravinder Oh thats a bummer. I've never had this error before. Not sure why its happening in yours. Try a different IDE maybe ?

solletravinder commented 2 years ago

IDE? currently I am using Visual Studio code.

Sabyasachi-Seal commented 2 years ago

I mean try on pycharm

solletravinder commented 2 years ago

Damage level 9999 on my PC, JK. I will figure it out, thanks anyway.