External interpreter not working. Error: "Can't run remote python interpreter: Can't get remote credentials for deployment server"
I had an external interpreter running, but after only a few runs and no setting changes, PyCharm started giving me this message: "Error running 'myProgram': Can't run remote python interpreter: Can't get remote credentials for deployment server. user@ip:22"
In the file transfer window is this error: "No files or folders found to process"
And any time I try to run a program, I get this error: Can't run remote Python interpreter: Can't get remote credentials for deployment server user@ip:22
Whenever I test my connection in deployment settings, PyCharm tells me "Successfully connected to user@ip."
Please sign in to leave a comment.
Hi,
Please take a look at the issue https://youtrack.jetbrains.com/issue/PY-33983
Does the issue reproduce after you restart PyCharm? Please try to delete and re-create the remote deployment and project interpreter.
Deployment settings: File | Settings | Build, Execution, Deployment | Deployment
Interpreter settings: File | Settings | Project: basic | Project Interpreter
Make sure that the current deployment is marked as "Default". Additionally, please delete `.pycharm_helpers` directory on the remote host, in user's home.
If after this the issue is still reproduced, please add the following lines to "Help > Debug log settings":
Then, reproduce the issue, and provide logs according to https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files
Thanks, with a similar issue, after the connection suddenly started to give the given error, restarting did not help yet, but deleting the remote deployment & interpreter, and adding anew helped me (I did not need to remove the .pycharm_helpers on the remote in my case)
For me it helped to do the following:
1. Delete ALL(!) the remote deployment and project interpreters for a particular remote machine.
2. Restart Pycharm.
3. Recreate thet remote deployment and project interpreter for the remote machine.
4. Restart Pycharm.