Configuring Remote Python Interpreter

I have IntelliJ Ultimate 12.0.2 installed on my local windows 8 machine.

I have Ubuntu Server 12.04 LTS installed on a virtual machine on my local network.

I'm wanting to setup IntelliJ to use a remote Python interpreter.

I take the following steps.

1) Open up my modeule setting (F4)
2) Select Platform Setting -> SDKs -> Add New SDK -> Python SDK
3) Select "Remote...."
4) In the "Configure Remote Python Interpreter" select "Fill from deployment server settings" (see screenshot a)
5) "Test connection" shows "Sucessfully connected to 192.168.1.130 (the Ubunutu VM)
6) Click "OK" - dialog pops up saying it's installing various helpers etc (I don't see any errors produced)
7) Remote interpreter looks as though it's installed but the "Python SDK home path" is shown in red and can't be used (see screenshot b)

Can anyone help tell me what I'm doing wrong please?



Attachment(s):
python_remote_interpreter_config_b.png
python_remote_interpreter_config_a.png
5 comments

You did more progress than I did.  I've been struggling to simply create a Python project with IntelliJ Ultimate 12, the only documentation I find says I need to create a project from scratch and create a JDK that points to the Python Interpreter.  Does not seem we can do that with the new version of IntelliJ.  A little help would be appreciated here.

Francois Lacoursiere

0

@Francois

You first need to install the Python plugin by:

1) Going to: File -> Settings -> IDE Settings -> Plugins
2) Clicking "Browse repositories..."
3) In the new window search for "python" and you should find "Python v.2.10.0Custom Languages"
4) Right click on this and select "download and install"
5) Once installed restart IntelliJ

Ten you should be able to create a new Python projcect by:

1) Going to: File -> New Project
2) Selecting "Python Module"
3) Give your projet a name and click "Next"
4) Add a the path to you python interpreter.
5) click "Next", "Next" and then "Finish"

0

So contrary to my previous post even though the interpreter is shown in red it still works and you can start a Python console using it from within IntelliJ.

I'm unsure as to what the red signifies and whether this indicates that there is some problem?

0

Thank you for answering so fast,

I did install the plugin as you mentionned.  It is when I selecte File->New Project that I have a problem.  There is no python to be found on the language selection.  I have 'Android, Groovy, Java, Java Enterprise, Static Web, Other (Empty Project), and Simple Gallery.  But no python.  There must be a setting somewhere to make it appear in that window.

I have included a screen shot of the 'New Project' dialog.



Attachment(s):
Screen Shot 2013-01-22 at 8.07.54 .png
0

Ok, I can create Python projects now.  I had to uninstall the plugin and reinstall it again.

0

Please sign in to leave a comment.