1
Well, the Code works, I changed the vscode interpreter that was in global python 3.7 from Ubuntu even to virtualenv python, the code works, but I do not understand why this error in Problems. I’m importing right, and the code runs.
As seen in the second image, by dotting after from and before dir, the error disappears, but the code when running presents this error: Traceback (Most recent call last): File "index.py", line 1, in from .Twitter.searchTweets import Twitter Modulenotfounderror: No module named 'main.Twitter'; 'main' is not a package
Unfortunately I’m not getting this kind of problem.