Question:
Current behavior:
Desired behavior
Repl link:
code snippet
você pode nos enviar o link da repl em que você tem esse problema?
Em casos normais, isso pode ser causado pela velocidade lenta da Internet ou ligeira sobrecarga em servidores replit, ou dificilmente por repls corrompidos/massivos, uma recarga pode consertar isso bem rápido
Além disso, seria útil se você traduzisse sua resposta/postagem para o inglês antes de postar, para que possamos entender seu problema melhor e mais rápido, resultando em uma resposta de ajuda mais rápida aos seus problemas.
O nome do seu arquivo está como exercicio1.py
e o seu arquivo .replit
na parte de entrypoint
está configurado para rodar arquivos com o nome main.py
.
Você deve mudar a configuração do seu arquivo .replit
de acordo com o nome do seu arquivo.
Para ficar mais fácil eu alterei o arquivo .replit
inteiro, basta copiar daqui e colar por cima do seu arquivo:
entrypoint = "exercicio1.py"
modules = ["python-3.10:v18-20230807-322e88b"]
[nix]
channel = "stable-23_05"
[unitTest]
language = "python3"
[gitHubImport]
requiredFiles = [".replit", "replit.nix"]
[deployment]
run = ["python3", "exercicio1.py"]
deploymentTarget = "cloudrun"
Obs.: caso você não esteja vendo o arquivo .replit
basta habilitar a opção de mostrar arquivos ocultos ao clicar nos 3 pontos:
The name of your file is exercicio1.py
, and your .replit
file’s entrypoint
is set to run files named main.py
.
You should change the configuration in your .replit
file to match the name of your file.
To make it easier, I have modified the entire .replit
file for you. Just copy it from here and paste it over your file:
entrypoint = "exercicio1.py"
modules = ["python-3.10:v18-20230807-322e88b"]
[nix]
channel = "stable-23_05"
[unitTest]
language = "python3"
[gitHubImport]
requiredFiles = [".replit", "replit.nix"]
[deployment]
run = ["python3", "exercicio1.py"]
deploymentTarget = "cloudrun"
Note: If you’re not seeing the .replit
file, you can enable the option to show hidden files by clicking on the three dots.