I got issue with relative and absolute imports with PyCharm
Project structure:
When I'm trying to import a local Package like this I'm getting error
What should be done so that both PyCharm and Python do not give out an error?
I got issue with relative and absolute imports with PyCharm
Project structure:
When I'm trying to import a local Package like this I'm getting error
What should be done so that both PyCharm and Python do not give out an error?
For PyCharm to recognize a directory as a module, you need to mark it as a Sources Root. To do that, right click it, hover over "Mark Directory as" and click on "Sources Root".