Open Haipy02 opened 1 year ago
I'm sorry, I didn't test it before putting it on github. I have my environment set up in such a way that everything works. But if you run the program without an environment, then you need to remove .src from each import
from src.config import Config
from src.service import DataBase
from config import Config
from service import DataBase
C:\Users\DREAM\Desktop\AnsweringMachineTelegram-main\src>python main.py Traceback (most recent call last): File "C:\Users\DREAM\Desktop\AnsweringMachineTelegram-main\src\main.py", line 5, in
from src.config import Config
ModuleNotFoundError: No module named 'src'
But this is not a module, what to do?