SSH python console

已回答

PyCharm 2023.3.2

Build #PY-233.13135.95

I have not been able to connect using the python console via SSH in pycharm since an update happened to our linux server. Here is the linux server:

NAME="Red Hat Enterprise Linux"
VERSION="8.9 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"

 

I *think* it has something to do with when I add a new python interpreter, it searches for a specific instance of python3 - but what it finds is the wrong one:

/usr/bin/which python3

and it displays the wrong exe file to point to. I have tried a few things to get it to point to the correct folder and file but it doesn't seem to want to work. This of course may have nothing to do with why it doesn't work, but thought I would include that detail if it jogs any ideas. 

clarification:

the interpreter python file is directed to the correct source - it even shows the correct packages when i load it on the pycharm interpreter settings. But when I go to the python console, I get the following error in pycharm:

“Error:Cannot find remote credentials for target config com.jetbrains.plugins.remotesdk.target.webDeployment.WebDeploymentTargetEnvironmentConfiguration@517503b4”

Thanks for any help.

0

Did you try to reinstall the interpreter and/or PyCharm just in case it's not corrupted?

0

Reinstalled interpreter multiple times - reinstalled Pycharm once and no luck

0

请先登录再写评论。