Closed takuruk1 closed 7 months ago
I'm not sure if you did this because it isn't mentioned in your steps to reproduce, but you need to install the required packages, it's the 2nd step in the Readme after cloning the repository:
pip install -r requirements.txt
did you ran "pip install -r requirements.txt"?
I ran the commands provided in the README.md, yes. Even pip install -r requirements.txt
pip3.12 install -U g4f
Run it as a module; python -m pip install g4f
.
Describe the bug Main.py exits out with the code : ModuleNotFoundError: No module named 'g4f'
To Reproduce
Expected behavior The script would run normally
Desktop
Additional context Full logs;
C:\Users\user\Documents\YTShorts\MoneyPrinter\Backend>python main.py Traceback (most recent call last): File "C:\Users\user\Documents\YTShorts\MoneyPrinter\Backend\main.py", line 3, in
from gpt import *
File "C:\Users\user\Documents\YTShorts\MoneyPrinter\Backend\gpt.py", line 3, in
import g4f
ModuleNotFoundError: No module named 'g4f'