Vagrant Path Mappings not being used by run configuration

Hiya!

For some reason when I attempt to run the Django server through PyCharm (by setting it up through a run configuration), it's telling me it can't find the manage.py file. This is happening because it's using my local paths, instead of the paths on the remote server. I have Vagrant set up as my remote interpreter for the project, and it is selected for this run configuration. When I go into settings->Project-> Project Interpreter I see the appropriate path mappings and when I click on "..." it says "Project path mappings for all usages of the selected interpreter" which leads me to believe that I don't have to re-define these mappings inside every run configuration (and I have another project that's set up similarly that I don't have to do that on either), so what's going wrong here?

Thanks for your help!

4
1 comment

I have the exact same issue. Each file I want to run needs to be setup all over again with Path Mappings because it uses the local path instead of the vagrant path.

0

Please sign in to leave a comment.