Cannot setup remote interpreter in Vagrant VM from windows 10

已回答

Hello,

I have been trying for a week to configure Windows 10 PyCharm to use the remote interpreter from within a virtualbox vm running windows 10 constructed with Vagrant without success.  I would greatly appreciate any help that you could offer.

At the moment I get the following errors :

1. After adding the remote interpreter, I get " Couldn't refresh skeletons for remote interpreter: Empty output from generator3.py for vagrant://E:\GIT\live-automation\vagrant\windows_10/cygdrive/c/Python36/python".  The path in the error message doesn't make any sense to me.  Why does it append my local vagrant folder (//E:\GIT\live-automation\vagrant\windows_10) to my remote interpreter location (/cygdrive/c/Python36/python) when looking for the generator3.py file

2. In the Settings --> Project Interpreter section I get the warning "Python packaging tools not found".  When I select to install them I get a bubble saying that the packages installed successfully but no packages show up in the settings window (still says "Nothing to show").

3. If I try to run tests, I get the following output :

ssh://vagrant@127.0.0.1:2222/cygdrive/c/Python36/python -u /home/vagrant/.pycharm_helpers/pycharm/_jb_pytest_runner.py --target test_applications_added.py::TestApplicationsAdded.test_live_is_added
Testing started at 9:39 AM ...
sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file

Process finished with exit code 0

I have setup openssh on the windows 10 vagrant vm in a sandbox - I thought that permissions could be an issue but I after looking, I do not see that this is true.  Also, I explored the possibility that it was an issue with linux / windows paths with the separator being not unified (as you can see in the first error listed above).  

 

please help :( I can pay with cookies and good Karma

cheers,

Jay

 

0

Hi Jason! Unfortunately we don't support Windows Vagrant Guest machines, corresponding issue: PY-17702.

0
Avatar
Permanently deleted user

ah yes.  That would explain it... lol.

 

Thanks,

Jay

0

请先登录再写评论。