Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

547
Visualizações
Pycharm Can't run remote python interpreter error

I have an aws ec2 instance to which I want to access and work via pycharm but I cannot correctly configure access to the remote terminal. The steps I do are these:

  1. using github and pycharm I clone the project repository and at the start of the program, since there is no configured python interpreter I start the configuration by clicking on the button "configure python interpreter"

enter image description here

  1. then select ssh interpreter and enter the ip address of the aws instance and username ubuntu

enter image description here 3) as key I choose a previously saved ppk file

enter image description here

4)continuing with the settings I select the interpreter like the one identified in the path usr/bin/python and as the project directory I select the directory of my project in home/ubuntu/MyProject

enter image description here

this is what i see after setting up the remote interpreter

enter image description here

all connection tests are passed successfully but when I run the code I get this error

Error running 'main': Can't run remote python interpreter: Error connecting to remote host

enter image description here

So how can I solve this problem?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

finally I found a solution, by default pycharm set the path for the interpreter usr/bin/python but the correct one is usr/bin/python3, now everything works correctly

over 4 years ago · Santiago Trujillo Relatório

0

I had the same error with a different cause: One of the docker volume bindings in the Run Configuration pointed to a non-existing host dir

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda