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

error #7

Open
xxsmile123 opened this issue Nov 25, 2020 · 2 comments
Open

error #7

xxsmile123 opened this issue Nov 25, 2020 · 2 comments

Comments

@xxsmile123
Copy link

环境:debian 9 python3.8.5

报错如下:
python3 webscan.py --target target.txt
Traceback (most recent call last):
File "webscan.py", line 1, in
from lib.common.request import Request
File "/root/tools/subdomain/WebAliveScan/lib/common/request.py", line 1, in
from gevent import monkey, pool; monkey.patch_all()
File "/usr/local/lib/python3.8/site-packages/gevent/init.py", line 87, in
from gevent._hub_local import get_hub
File "/usr/local/lib/python3.8/site-packages/gevent/_hub_local.py", line 101, in
import_c_accel(globals(), 'gevent.__hub_local')
File "/usr/local/lib/python3.8/site-packages/gevent/_util.py", line 105, in import_c_accel
mod = importlib.import_module(cname)
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "src/gevent/__greenlet_primitives.pxd", line 12, in init gevent.__hub_local
ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 144 from PyObject

python3 webscan.py -h
Traceback (most recent call last):
File "webscan.py", line 1, in
from lib.common.request import Request
File "/root/tools/subdomain/WebAliveScan/lib/common/request.py", line 1, in
from gevent import monkey, pool; monkey.patch_all()
File "/usr/local/lib/python3.8/site-packages/gevent/init.py", line 87, in
from gevent._hub_local import get_hub
File "/usr/local/lib/python3.8/site-packages/gevent/_hub_local.py", line 101, in
import_c_accel(globals(), 'gevent.__hub_local')
File "/usr/local/lib/python3.8/site-packages/gevent/_util.py", line 105, in import_c_accel
mod = importlib.import_module(cname)
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "src/gevent/__greenlet_primitives.pxd", line 12, in init gevent.__hub_local
ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 144 from PyObject

@xxsmile123
Copy link
Author

另一个报错,
环境:debian 9 python3.8.5
python3 webscan.py -h
Traceback (most recent call last):
File "webscan.py", line 1, in
from lib.common.request import Request
File "/root/tools/subdomain/WebAliveScan/lib/common/request.py", line 1, in
from gevent import monkey, pool; monkey.patch_all()
ModuleNotFoundError: No module named 'gevent'
root@fine-kittens-1:~/tools/subdomain/WebAliveScan# pip3 install gevent
Requirement already satisfied: gevent in /usr/local/lib/python3.8/dist-packages (1.4.0)
Requirement already satisfied: greenlet>=0.4.14; platform_python_implementation == "CPython" in /usr/local/lib/python3.8/dist-packages (from gevent) (0.4.15)

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