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

273
Visualizações
Can't install time module

I've tried pip install time and sudo -H pip install time, but I keep getting the error:

Could not find a version that satisfies the requirement time (from versions: ) No matching distribution found for time

I'm working in PyCharm, but what really doesn't make sense is that I can import time in the Python Console but not in my actual code.

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

0

The time module is part of Python's standard library. It's installed along with the rest of Python, and you don't need to (nor can you!) install it with pip.

I can import time in the Python Console

Yes, because it's already installed.

but not in my actual code

I don't believe you. Show us the exact error message you get when you try.

over 4 years ago · Santiago Trujillo Relatório

0

I think this is a PyCharm bug. I am using the time module with PyCharm and it complains that 'time' is an unresolved reference, even when I use

import time

at the beginning of my file. However, there is no run-time error when I execute my program, even though PyCharm does not recognise time as a valid module.

over 4 years ago · Santiago Trujillo Relatório

0

Try using time.sleep(secs) that should work fine.

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