Open Yusuf-Fyska opened 5 months ago
did you get the solution of this error ?
same error
Upgrading pyOpenSSL
, pip
and cryptography
worked for me.
pip3 install pip --upgrade
pip3 install pyopenssl --upgrade
pip3 install cryptography --upgrade
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?