Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm "Can't get remote credentials for deployment server"

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

like image 582
Ryabchenko Alexander Avatar asked Mar 01 '19 10:03

Ryabchenko Alexander


3 Answers

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)enter image description here

Then, configure your deployment in the Tools. enter image description here

Another solution is remove your current Python Interpreter and setup a new one. This also works for me.

like image 63
Peilin Avatar answered Nov 06 '22 17:11

Peilin


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

enter image description here

like image 17
chickahoona Avatar answered Nov 06 '22 16:11

chickahoona


For me, remove the debug configuration and create a new one worked

like image 2
Tuan Nguyen Avatar answered Nov 06 '22 16:11

Tuan Nguyen