Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modulenotfound error help #1868

Open
Yusuf-Fyska opened this issue Jun 15, 2024 · 3 comments
Open

modulenotfound error help #1868

Yusuf-Fyska opened this issue Jun 15, 2024 · 3 comments

Comments

@Yusuf-Fyska
Copy link

File "/home/kali/Desktop/spiderfoot-4.0/./sf.py", line 29, in
from sflib import SpiderFoot
File "/home/kali/Desktop/spiderfoot-4.0/sflib.py", line 34, in
import dns.resolver
File "/usr/lib/python3/dist-packages/dns/resolver.py", line 30, in
import dns._ddr
File "/usr/lib/python3/dist-packages/dns/ddr.py", line 12, in
import dns.nameserver
File "/usr/lib/python3/dist-packages/dns/nameserver.py", line 5, in
import dns.asyncquery
File "/usr/lib/python3/dist-packages/dns/asyncquery.py", line 32, in
import dns.quic
File "/usr/lib/python3/dist-packages/dns/quic/_init.py", line 7, in
import aioquic.quic.configuration # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/aioquic/quic/configuration.py", line 6, in
from ..tls import (
File "/usr/lib/python3/dist-packages/aioquic/tls.py", line 41, in
from cryptography.hazmat.primitives.asymmetric.types import (
ModuleNotFoundError: No module named 'cryptography.hazmat.primitives.asymmetric.types'

I take this error, how can I fix it?

@omjadhav25
Copy link

did you get the solution of this error ?

@Karag0
Copy link

Karag0 commented Jul 15, 2024

same error

@bcoles
Copy link
Contributor

bcoles commented Jul 28, 2024

Upgrading pyOpenSSL, pip and cryptography worked for me.

pip3 install pip --upgrade
pip3 install pyopenssl --upgrade
pip3 install cryptography --upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants