Import Error while running python script in ATOM

  atom-editor, import, python, windows

I am new to ATOM (and this site) and love using ATOM as a script editor, but I keep running into a problem when running scripts. Using Windows 10 x64. Also using a newly installed version of ATOM and have python39 (3.9.2) installed. All .py files in the error are in the project folder. Here is the error I get:

[Command: python -u 'C:UserskstenDocumentsAtom Test1 Projecteve.py']
Traceback (most recent call last):
  File "C:UserskstenDocumentsAtom Test1 Projecteve.py", line 1, in <module>
    from server import RestServer
  File "C:UserskstenDocumentsAtom Test1 Projectserver.py", line 1, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

I have searched similar questions but have not found a successful solution yet. Any help would be greatly appreciated!

Source: Windows Questions

LEAVE A COMMENT