PyCharm "Can't get remote credentials for deployment server"
Solution 1
it happen to be wrong configuration of remote interpretor, i configured it once again and all works
Solution 2
I had the same problem. I configured first a deployment server and then the remote interpreter using the same deployment server config. I was asked if I want to either create a copy or move the configuration from the project level to the IDE level. I moved it.
The problem is that the credentials for the server are only available on the project level. To solve it I had to:
- go back to the Deployment Configuration
- click on these "..." till I reached the "SSH Configurations"
- Unchecked the "Visible only for this project" checkbox
Solution 3
I'm using SSH to achieve my Interpreter and encountered sameerror. I tried solutions above, but all in vain.
My solution is, make sure you choose the SSH when you configure your Interpreter. (When I choose Deployment configuration as default, error comes)
Then, configure your deployment in the Tools.
Another solution is remove your current Python Interpreter and setup a new one. This also works for me.
Solution 4
For me, remove the debug configuration and create a new one worked
![Ryabchenko Alexander](https://i.stack.imgur.com/4yJoA.jpg?s=256&g=1)
Ryabchenko Alexander
lead python developer 8 years at Yandex MIPT if you want reach me => @ra_coder at telegram
Updated on June 28, 2022Comments
-
Ryabchenko Alexander about 2 years
After config remote interpreter and deployment I got the following error when PyCharm trying to install libs from
requirements.txt
Can't get remote credentials for deployment server
-
Marcin Ginszt over 3 yearsNext time, could please tell us, what was the solution?
-
phi about 3 yearsThis is somewhat strange, but it worked for me to remove the "Visible only for this project" flag on the
Deployment configuration
(!) -
marco almost 3 yearsSame for me. However, unchecked both. But thanks for the hint. Maybe if I had read every page of the documentation, with a bit of luck I could have known it
-
joebeeson over 2 yearsThis was the only solution I could get to reliably work, thanks!
-
haneulkim over 2 yearsThis is the only solution that works for me too, but tired of resetting everytime this happens. Does anyone know reason for this?
-
Gulzar over 2 yearsthe mouse in the image trolled me before the morning coffee!