You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<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报错使用以下命令修复:
🐞 BUG1:
✅ 修复
由于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.17
ORgevent>=20.9; greenlet>=0.4.17
如果仍然无法解决且或有
NameError: name 'AF_INET' is not defined
报错使用以下命令修复:/usr/local/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject return f(*args, **kwds)
python-greenlet/greenlet#178 Binary compatibility issues on Python 3.7/Linux gevent/gevent#1260The text was updated successfully, but these errors were encountered: