Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 13951

ModuleNotFoundError in Pycharm while importing from existing folder

$
0
0

I'm running a Python project in Pycharm structured as shown in the image and I'm trying to perform the following import in embedder_cmd.py :from Neural_PM.clustering.clustering_experiment import run_clustering

I currently get the following error:
ModuleNotFoundError: No module named 'Neural_PM'

I've tried the solutions proposed in the previous answers but nothing seems to work for me.

Printing os.environ['PYTHONPATH'] currently shows my project path:C:\Users\Mark\PycharmProjects\pythonProject5

Project structure


Viewing all articles
Browse latest Browse all 13951

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>