'ModuleNotFoundError - Installing PyCharm and Anaconda [duplicate]

I'm setting up PyCharm and Anaconda on a new computer and am running into errors saying modules are not found.

I've confirmed that the module, Pandas is installed. When I go to Terminal and 'pip install pandas' it says Requirement Already satisfied. Similarly, when I go to the Anaconda Prompt and install there it also says it is already installed.

Within PyCharm my interpreter is set to C:\Users<username>\anaconda3\envs<ProjectName>\python.exe but when I see all the packages listed under that interpreter its missing all the ones I installed.

How can I get the modules I've installed via Anaconda to work properly?



Solution 1:[1]

you should select the right interpreter in pycharm : file > python Interpreter > setting > add > and then from Conda Environment you can pass your environment path and use it. usefull links: configure python interpreter on pycharm and configure python interpreter on VScode

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1