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
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.
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:
For me, remove the debug configuration and create a new one worked
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With