Configure Remote Python interpreter "can't create Python SDK: failure"

Answered

Hello,

I am trying to Configure Remote Python interpreter using the "SSH credentials " option and I am getting the " can't create Python SDK: failure"  after I enter the Python interpreter path and click on "OK". This is the log entries I see on the idea.log file

I was able to successfully deploy code on the SSH server and test the connectivity as well. Please suggest what I am missing. I 

2018-02-18 21:31:48,270 [81153982]   INFO - transport.SshConnectionService - Creating sftp channel within SSH session @496d4b7e to userid@servername:22

2018-02-18 21:31:49,938 [81155650]   INFO - tesdk.ui.CreateRemoteSdkDialog - Failure

com.jetbrains.plugins.webDeployment.CustomFileSystemException: Failure

        at com.jetbrains.plugins.remotesdk.RemoteSdkUtil.checkInterpreterAndCreateHelpersFolder(RemoteSdkUtil.java:424)

        at com.jetbrains.plugins.remotesdk.RemoteSdkUtil$1.lambda$run$0(RemoteSdkUtil.java:285)

        at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:342)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:745)

Caused by: 4: Failure

        at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2873)

        at com.jcraft.jsch.ChannelSftp.mkdir(ChannelSftp.java:2182)

        at com.jetbrains.plugins.remotesdk.RemoteSdkUtil.checkInterpreterAndCreateHelpersFolder(RemoteSdkUtil.java:395)

        ... 7 more

 

0
3 comments
Avatar
Permanently deleted user

Can someone please help me out? Any and all help in resolving this issue is appreciated.

0

Hi Srini Dola! Looks similar to PY-27897, could you please specify which auth type do you use (password, keypair, OpenSSH config)?

0
Avatar
Permanently deleted user

Hi Pavel,

Thanks for the response.

I am using "password" as the auth type.

Based on the error I see in the idea.log, I too though that it could be the permissions error. I did a "chmod 777" on all the directories under "/app/miniconda2/python354/python/bin". I did create directories and files using the same ID that I used in the SSH configuration to test the access, however, I still keep getting the same error.

I used the below path as my python interpreter. 

/app/miniconda2/python354/python/bin/python3.5

Please help.

0

Please sign in to leave a comment.