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

331
Visualizações
ModuleNotFoundError: No module named 'OpenSSL'

In Python 3.6 I am getting a ModuleNotFoundError:

>>> import OpenSSL
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'OpenSSL'

Why can't Python find the OpenSSL module?

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

0

The OpenSSL module comes from the pyOpenSSL library. You can install it with Pip using a command like:

pip install pyOpenSSL

If it fails due to missing dependencies, see the instructions on installing pyOpenSSL's dependencies in this answer to "How to install OpenSSL for Python".

(Also, as with all pip installs, depending upon your environment, you may need to write sudo before pip to run as root, and you may need to use a version-specific pip command like pip3 or pip2.)

over 4 years ago · Santiago Trujillo Relatório

0

Try running on a new kernel after installing pyOpenSSL. Sometimes when you experience ModuleNotFoundError even though you have installed a module, it could mean the new installation has not been updated on the currently running kernel.

Note: If you're using a virtual environment on Jupyter Notebook or something similar, try re-installing the virtual environment.

For Jupyter Notebook users:

Install ipykernel:

conda install ipykernel

Re-install virtual environment:

python -m ipykernel install --user --name <envname>

over 4 years ago · Santiago Trujillo Relatório

0

from OpenSSL import SSL

There's more context in this Stack Overflow question. You may also need to install pip.

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