I’ve recently switched to PyCharm and I’ve installed the MayaCharm plugin, which I’ve been having problems with.
It runs fine with any default Python or Maya module i import, as well as any code i write. But I keep getting an ImportError: No modules named … whenever i import my own files.
My root folder is marked as source
Add contents roots to PYTHONPATH is checked
Add source roots to PYTHONPATH is checked
I can import my modules directly in Maya’s script editor, and load them in the python console for PyCharm.
I’m running this through the custom run/debug configuration that you setup for MayaCharm. I’m using ‘execute file’ to run main.py which imports all my other modules.
If anyone had any suggestion, i would really appreciate it!