skip to Main Content

Error when working with json file in Python – Telegram API

Help to sort out the json error - C:Users123AppDataLocalProgramsPythonPython38>python C:main_3.py Traceback (most recent call last): File "C:main_3.py", line 10, in <module> data = json.load(file) File "C:Users123AppDataLocalProgramsPythonPython38libjson__init__.py", line 293, in load return loads(fp.read(), File "C:Users123AppDataLocalProgramsPythonPython38libjson__init__.py", line 357, in loads return _default_decoder.decode(s)…

VIEW QUESTION

ModuleNotFoundError: No module named '<Directory name>'

When I call python __main__.py I receive error: from facebook.fb_api import FacebookApi ModuleNotFoundError: No module named 'facebook' # __main__.py from facebook.fb_api import FacebookApi if __name__ == "__main__": api = FacebookApi() api.start() Project structure facebook/ ├── cache.py ├── configs.py ├── fb_api.py…

VIEW QUESTION
Back To Top
Search