working with existing django application using virtualenv inside vagrant

I am using a virtualenv environment inside a vagrant image to run an existing django application. I was able to open the project in pycharm, run 'vagrant up' in the terminal and set the virtual env's python as the project interpreter. I am running into problems though trying to use pycharm's django tools.

Running task runserver, errors out because:
/home/vagrant/.virtualenvs/myproject/bin/python: can't open file '/home/vagrant/.pycharm_helpers/pycharm/': [Errno 2] No such file or directory

Trying to create a new Django project for the existing sources fails because pycharm asks for a local interpreter.

Does pycharm support developing django apps using a virtualenv inside vagrant? If not, is there any way to develop in pycharm and deploy/debug my application in virtualenv inside vagrant?

Please sign in to leave a comment.