Currently using Atom (v.1.15) on OS Big Sur(v. 11.1). I am creating a project in python (3.7) and trying to have one of the .py files ‘import’ another class within the project file.
E.g. ~/Documents/MyProject has 2 files: constants.py and welcome.py
in my welcome.py file, the first line is
“from MyProject import constants”
However, Atom throws an error 'ModuleNotFoundError: No module named ‘MyProject’
I switched the settings in the Hydrogen package to “current directory of the file” but it still doesn’t work!
Can you please help? What is the issue?