I have some troubles setting up PyCharm.
I have my projects set up this way (opened Python folder in PyCharm):
Python\
API\
API_Project_1\
API_Project_2\
…
And so on. Even tho in BOTH API_projects there are virtualenvs with the properly installed modules, whenever i import something such as:
import uvicorn
PyCharm underlines it in red saying "No module named 'uvicorn'"
Why is that?
EDIT AFTER FIRST COMMENT: This has nothing to do with VSCode or VSCode projects. My question is: How to import ALL my projects (divided as i shown above in that folder structure) into PyCharm and have it recognize them all as different projects.
And when i open a file of a project and execute it, all works fine cause i properly imported every module and created a virtualenv, BUT PyCharm doesn't recognize it properly, in fact shows me errors like "Unresolved reference 'fastapi'" as an example.
EDIT 2: Modified post to better show my problem