retkoussa/gsnw

Error while running gsnw.py

Closed this issue · 5 comments

When I run this script the error below show me.

Traceback (most recent call last):
File "gsnw.py", line 11, in
from seleniumwire import webdriver
File "/tmp/ax/gsnw/.juca/lib/python3.8/site-packages/seleniumwire/webdriver.py", line 28, in
from seleniumwire import backend, utils
File "/tmp/ax/gsnw/.juca/lib/python3.8/site-packages/seleniumwire/backend.py", line 4, in
from seleniumwire.server import MitmProxy
File "/tmp/ax/gsnw/.juca/lib/python3.8/site-packages/seleniumwire/server.py", line 5, in
from seleniumwire.handler import InterceptRequestHandler
File "/tmp/ax/gsnw/.juca/lib/python3.8/site-packages/seleniumwire/handler.py", line 5, in
from seleniumwire import har
File "/tmp/ax/gsnw/.juca/lib/python3.8/site-packages/seleniumwire/har.py", line 11, in
from seleniumwire.thirdparty.mitmproxy import connections
File "/tmp/ax/gsnw/.juca/lib/python3.8/site-packages/seleniumwire/thirdparty/mitmproxy/connections.py", line 10, in
from seleniumwire.thirdparty.mitmproxy.net import tls, tcp
File "/tmp/ax/gsnw/.juca/lib/python3.8/site-packages/seleniumwire/thirdparty/mitmproxy/net/tls.py", line 15, in
import seleniumwire.thirdparty.mitmproxy.options
File "/tmp/ax/gsnw/.juca/lib/python3.8/site-packages/seleniumwire/thirdparty/mitmproxy/options.py", line 5, in
from seleniumwire.thirdparty.mitmproxy import optmanager
File "/tmp/ax/gsnw/.juca/lib/python3.8/site-packages/seleniumwire/thirdparty/mitmproxy/optmanager.py", line 9, in
import blinker._saferef
ModuleNotFoundError: No module named 'blinker._saferef'

Hi!

May you please try to run:

pip install blinker

Should fix the problem

I have the same problem and I tried with pip install blinker
Requirement already satisfied: blinker in /usr/lib/python3/dist-packages (1.8.2)
and..

import blinker._saferef
ModuleNotFoundError: No module named 'blinker._saferef'

here's a fix
pip install blinker==1.4

here's a fix pip install blinker==1.4

@LeviAckerman666 @gpxlnx
Can you confirm that @spector012's fix works?

I'll close this for now, if anything comes up please let me know.