Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm - can't use remote interpreter

Strange thing. I just can't use remote interpreters. I'm 100% sure I saw it before. WTF?

I have configured ssh deployment connection and vagrant box.

There is nothing interesting under more button.

How to add remote interpreter?

edit: screenshot from settings → project → project interpreter

edit2: problem reported on PyCharm community support

edit3: I use PyCharm pro

edit4: Just installed today's new version, 2016.1.3. Nothing has changed.

enter image description here

PyCharm 2016.1.2
Build #PY-145.844, built on April 8, 2016
JRE: 1.8.0_76-release-b32 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

enter image description here

like image 933
voy Avatar asked May 11 '16 10:05

voy


People also ask

How do I fix the interpreter problem in PyCharm?

Change the Python interpreter in the project settings Press Ctrl+Alt+S to open the IDE settings and select Project <project name> | Python Interpreter. Expand the list of the available interpreters and click the Show All link. Select the target interpreter.

How do I connect to a remote server with PyCharm?

On the PyCharm welcome screen, select Remote Development. In the Run the IDE Remotely section, click SSH Connection. If you have the IDE already running on the remote server and you have a connection link, you can use the Connect to Remote Host With a Link section.

Does PyCharm Community Edition support remote development?

Yes, you can. However, it still downloads JetBrains Client. All functionality which comes along with the JetBrains Gateway is available in PyCharm.


2 Answers

ok, problem solved.

  1. export settings (I already had my old settings)
  2. remove settings dir (~/.PyCharm2016.1)
  3. restart pycharm without importing settings
  4. import settings
  5. restart PyCharm
  6. :tada: it works!
like image 111
voy Avatar answered Sep 28 '22 19:09

voy


Check that the Python Remote Interpreter plugin is activated.

Go to Settings -> Plugins. Check that Python Remote Interpreter is checked off.

enter image description here

like image 36
AYTWebSolutions Avatar answered Sep 28 '22 21:09

AYTWebSolutions