frodekp / DECtalk-Twitch-TTS-bot

DECtalk Twitch text-to-speech bot is a bot that reads out chat messages with DECtalk. DECtalk is famously used by Professor Stephen Hawking, The US National Weather Service, Back To The Future Part II, Benny Benassi, and last but not least the game Moonbase Alpha.
GNU General Public License v3.0
10 stars 3 forks source link

Installing Requirements #6

Closed SupaCanoli closed 1 year ago

SupaCanoli commented 1 year ago

I can get set up requirements in a command prompt with python 3.10, but once i try running the final file (dectalktwitchtts.py), it says that there is no module named "keyboard".

SupaCanoli commented 1 year ago

Also looked back in the command prompt and saw that after running python -m pip install -r requirements.txt, I got a return somewhere down the line of 'running setup.py install for simpleaudio ... error'. I've added a photo of what it looks like right after I run that command.

image

frodekp commented 1 year ago

I tested installing the requirements and running dectalktwitchtts.py with success in a fresh enviroment with Python 3.10.9. So I'm not able to recreate the issue. But I looked up the error message that says Microsoft Visual C++ 14.0 or greater is reqired... and found a stackoverflow with a similar issue that might lead to a solution for you https://stackoverflow.com/questions/44951456/pip-error-microsoft-visual-c-14-0-is-required/44953739#44953739.

SupaCanoli commented 1 year ago

That fixed it, but I just wanted to know if there's a way to make it also say the name of the person who said the chat message or is that yet to be implemented?

frodekp commented 1 year ago

I just added this feature in 1e3ad2236ecf7fe1248a3cb0e58e0e84134d4eba. You only need to update dectalktwitchtts.py and config.py and make sure SAY_USERNAME is set to True

SupaCanoli commented 1 year ago

Okay, thank you very much!