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

vulmap bug 解决办法汇总 #21

Open
zhzyker opened this issue Jan 8, 2021 · 0 comments
Open

vulmap bug 解决办法汇总 #21

zhzyker opened this issue Jan 8, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zhzyker
Copy link
Owner

zhzyker commented Jan 8, 2021

🐞 BUG1:

<frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
<frozen importlib._bootstrap>:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject

✅ 修复

由于gevent和greenlet版本问题导致
再python3.8+中,需要gevent>=20.9; greenlet>=0.4.17
如果python3.7怎么办?需要gevent>=1.4.0, < 20.9; greenlet>=0.4.14,< 0.4.17ORgevent>=20.9; greenlet>=0.4.17
如果仍然无法解决且或有NameError: name 'AF_INET' is not defined报错使用以下命令修复:

pip3 install -U --force-reinstall --no-binary :all: gevent
@zhzyker zhzyker added the bug Something isn't working label Jan 8, 2021
@zhzyker zhzyker self-assigned this Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant