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

pycparser error all required packages is install but this error occured #38

Open
Thunderbeast000 opened this issue Jun 28, 2021 · 1 comment

Comments

@Thunderbeast000
Copy link

Traceback (most recent call last):
File "/usr/local/bin/sslstrip", line 30, in
from sslstrip.StrippingProxy import StrippingProxy
File "/usr/local/lib/python2.7/dist-packages/sslstrip/StrippingProxy.py", line 20, in
from ClientRequest import ClientRequest
File "/usr/local/lib/python2.7/dist-packages/sslstrip/ClientRequest.py", line 25, in
from twisted.internet import ssl
File "/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py", line 59, in
from OpenSSL import SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/init.py", line 8, in
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in
from OpenSSL._util import (
File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in
from cryptography.hazmat.bindings.openssl.binding import Binding
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 60, in
class Binding(object):
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 109, in Binding
libraries=_get_libraries(sys.platform)
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/utils.py", line 97, in build_ffi_for_binding
extra_link_args=extra_link_args,
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/utils.py", line 105, in build_ffi
ffi = FFI()
File "/usr/lib/python2.7/dist-packages/cffi/api.py", line 65, in init
from . import cparser
File "/usr/lib/python2.7/dist-packages/cffi/cparser.py", line 7, in
import pycparser
ImportError: No module named pycparser

@micwoj92
Copy link

Do you have python2-pycparser installed?

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

2 participants