tangzx
tangzx

Reputation: 1

pycharm remote interpeter unknown

server:windows7 cilent:windows10

i Configuring Remote Python Interpreters on cilent the ssh connection is ok

when i click ok button it's shows that 'interpreter /usr/bin/python doesn't exist on remote server'

so i change the python interpreter path to the python.exe on the server like this

after save over it's show that it's an unknown interpreter like this

and when i run my test python file it' shows unable to execute command or shell on remote system:Failed to Execute process

some one can tell me it's ssh permission problem or other setting problem? thx

Upvotes: 0

Views: 955

Answers (1)

Gnnr
Gnnr

Reputation: 168

This is most likely an issue with the remote interpreter itself. Either the interpreter itself (independent from the location you are using it) is broken or you have stated the wrong path.

Via SSH, please try to use the interpreter from the console (just type python). If it works, verify the path of your interpreter like this:

import sys
print(sys.executable)

It should return something like '/usr/bin/python'. Make sure this is the same path as you stated in PyCharm.

Upvotes: 0

Related Questions