noahgsolomon / brainrot.js

Text to video generator in the brainrot form. Learn about any topic from your favorite personalities 😼.
https://brainrotjs.com
MIT License
497 stars 59 forks source link

Error when trying to run transcribe.py #20

Open 5viki opened 1 month ago

5viki commented 1 month ago

Hello, the first time I tried running brainrot.js locally everything worked except my missing openAI tokens, so I returned the next day only to get greeted with this peculiar missing modules error when I wanted to run transcribe.py: Screenshot 2024-08-08 114645 I haven't made any changes overnight or anything, ran pip install again and nothing was missing, tried switching to a different python version, followed the instructions again, all to no avail. As this same command worked perfectly fine just a day before I am perplexed. Any help would be greatly appreciated! :)

noahgsolomon commented 1 month ago

I'll try to help. So you ran "pip install -r requirements.txt" inside the generate/ folder? And you created a virtual environment before doing that and activated it? The venv folder should be in generate/venv/

Is this all correct?

5viki commented 1 month ago

yes, that is exactly what I've done. I don't know how relevant this is, but my local python instalation (3.12.5) has only python.exe, and not python3.exe, so it took some fiddling to make python3 transcribe.py work (py -m transcribe.py outputs the same error). Screenshot 2024-08-08 140627 Screenshot 2024-08-08 140608

noahgsolomon commented 1 month ago

weird. I've never had this complaint so I imagine it works fine typically on windows. Try using python in place of python3, not really sure. This is a python configuration issue more than a brainrot config issue and I'm no python expert haha