DanMcInerney / xsscrapy

XSS spider - 66/66 wavsep XSS detected
1.66k stars 441 forks source link

AssertionError: version mismatch, 0.8.6 != 1.8.3 #30

Closed vishalkrtr closed 8 years ago

vishalkrtr commented 8 years ago

python get-pip.py Traceback (most recent call last): File "get-pip.py", line 19177, in main() File "get-pip.py", line 194, in main bootstrap(tmpdir=tmpdir) File "get-pip.py", line 82, in bootstrap import pip File "/tmp/tmpR1SH6k/pip.zip/pip/init.py", line 16, in File "/tmp/tmpR1SH6k/pip.zip/pip/vcs/mercurial.py", line 9, in File "/tmp/tmpR1SH6k/pip.zip/pip/download.py", line 39, in File "/tmp/tmpR1SH6k/pip.zip/pip/_vendor/requests/init.py", line 53, in File "/tmp/tmpR1SH6k/pip.zip/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py", line 54, in 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/local/lib/python2.7/dist-packages/cffi/api.py", line 59, in init "version mismatch, %s != %s" % (backend.version, version) AssertionError: version mismatch, 0.8.6 != 1.8.3

decidedlygray commented 8 years ago

@vishalkrtr I was wondering if you might be able to give more context around why or when this error occurred?

get-pip.py is a different GitHub project located here: https://github.com/pypa/get-pip. If your error is related to get-pip.py, as it appears to be, you will have more luck opening an issue with that project.

One thing you might want to try before opening a ticket with that project is running the command with elevated privileges. In Windows that would mean running in an Administrator command prompt. In Linux that would mean running sudo python get-pip.py.

A quick google search of your error message also shows that some Linux users have had success in fixing that issue by first installing the foreign function interface components before running get-pip.py. I would also try: sudo apt-get install python-cffi, then sudo python get-pip.py

vishalkrtr commented 8 years ago

@binarycanary Thanks man my issue is resolved by installing python-cffi . Thanks a lot ^_^...

On 16 Oct 2016 1:57 a.m., "binarycanary" notifications@github.com wrote:

@vishalkrtr https://github.com/vishalkrtr I was wondering if you might be able to give more context around why or when this error occurred?

get-pip.py is a different GitHub project located here: https://github.com/pypa/get-pip. If your error is related to get-pip.py, as it appears to be, you will have more luck opening an issue with that project.

One thing you might want to try before opening a ticket with that project is running the command with elevated privileges. In Windows that would mean running in an Administrator command prompt. In Linux that would mean running sudo python get-pip.py.

A quick google search of your error message also shows that some Linux users have had success in fixing that issue by first installing the foreign function interface components before running get-pip.py. I would also try: sudo apt-get install python-cffi, then sudo python get-pip.py

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DanMcInerney/xsscrapy/issues/30#issuecomment-254009089, or mute the thread https://github.com/notifications/unsubscribe-auth/AJDnerQRHKqcC5UhKIoqo-1xs1rG3IcEks5q0TdKgaJpZM4KXQpC .