question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImportError: No module named certificates

See original GitHub issue
  1. pip install censys
  2. import censys.certificates

–> ImportError: No module named certificates

Python 2.7 on OSX 10.13.4

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
SamJoancommented, Jan 30, 2019

I had the a similar issue. It is because I named my file censys.py. If you change the name to something else, such as censys_getwhatever.py this will resolve the issue, provided you also delete any temporary pyc files.

2reactions
thehappydinoacommented, Sep 21, 2021

Hi @wowits,

The censys-subdomain-finder tool is not an official tool and appears to not be maintained. I have created a PR for the project, but it has not been accepted. You are more than welcome to use my branch: thehappydinoa/censys-subdomain-finder:censys-update.

They are using an old version of censys-python, to install a legacy version please run:

pip install "censys==2.0.7; python_version > '3.8'" "censys==0.0.8; python_version <= '3.8'"

EDIT: Corrected version number.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No module named certifi - python - Stack Overflow
Go to your applications folder > find your python version folder -> double click on the file Install Certificates.command inside the python ...
Read more >
How to solve ImportError: No module named certifi - Super User
I am using Debian Testing, and I am trying to install couple modules one them is the discog client. However I keep hitting...
Read more >
Python error import requests ImportError No module named ...
I am trying to run the following code: import sys import time dirPath = './copyleaks' ... : import requests ImportError: No module named...
Read more >
Resolve "ImportError: No module named" in AWS Glue
When I try to import extra modules or packages using the AWS Glue Python shell, I get an "ImportError: No module named" response....
Read more >
ssl — TLS/SSL wrapper for socket objects — Python 3.11.1 ...
Source code: Lib/ssl.py This module provides access to Transport Layer Security ... If a certificate contains an instance of the Subject Alternative Name...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found