В моем коде я получаю эту ошибку, сообщающую мне, что он не распознает мой импорт:
This has kind of fixed the problem, in VSCode, instead of opening a large folder which has other sub folder, I opened only 1 of the folders:
I am not sure what is causing this problem as, the code which I have written uses data and functions in the files from utils folder. This means that my app is running flawlessly with no errors even though I am getting this unresolved import warning. Is there any way to fix this? Thanks a lot and I really appreciate your help!
My app crashes when I say .utils.constants
as it says that there is no parent package / module.
Here is my complete file structure in VSCode:
The happened with PyCharm:
введите описание изображения здесь