Does this answer your question? [Relative imports for the billionth time](https://stackoverflow.com/questions/14132789/relative-imports-for-the-billionth-time)
– BeRT2meMay 10 '23 at 04:50
Please provide enough code so others can better understand or reproduce the problem.
– CommunityMay 10 '23 at 05:15
2 Answers2
0
Try using:- import sys; sys.path.append("..") (assuming this error comes from main.py)