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
After I installed Locust with pip3 install locust, I can't run command locust normally.Detailed ouput:
Traceback (most recent call last):
File "/Library/anaconda3/envs/delta/bin/locust", line 5, in
from locust.main import main
File "/Library/anaconda3/envs/delta/lib/python3.8/site-packages/locust/init.py", line 13, in
from gevent import monkey
File "/Library/anaconda3/envs/delta/lib/python3.8/site-packages/gevent/init.py", line 72, in
from gevent._hub_local import get_hub
File "/Library/anaconda3/envs/delta/lib/python3.8/site-packages/gevent/_hub_local.py", line 150, in
import_c_accel(globals(), 'gevent.__hub_local')
File "/Library/anaconda3/envs/delta/lib/python3.8/site-packages/gevent/_util.py", line 148, in import_c_accel
mod = importlib.import_module(cname)
File "/Library/anaconda3/envs/delta/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "src/gevent/_hub_local.py", line 1, in init gevent._gevent_c_hub_local
ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 40 from PyObject
Prerequisites
Description
Dependency: gevent-23.9.1 greenlet-3.0.3. locust-2.20.1
System: macOS m1
After I installed Locust with
pip3 install locust
, I can't run commandlocust
normally.Detailed ouput:Traceback (most recent call last):
File "/Library/anaconda3/envs/delta/bin/locust", line 5, in
from locust.main import main
File "/Library/anaconda3/envs/delta/lib/python3.8/site-packages/locust/init.py", line 13, in
from gevent import monkey
File "/Library/anaconda3/envs/delta/lib/python3.8/site-packages/gevent/init.py", line 72, in
from gevent._hub_local import get_hub
File "/Library/anaconda3/envs/delta/lib/python3.8/site-packages/gevent/_hub_local.py", line 150, in
import_c_accel(globals(), 'gevent.__hub_local')
File "/Library/anaconda3/envs/delta/lib/python3.8/site-packages/gevent/_util.py", line 148, in import_c_accel
mod = importlib.import_module(cname)
File "/Library/anaconda3/envs/delta/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "src/gevent/_hub_local.py", line 1, in init gevent._gevent_c_hub_local
ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 40 from PyObject
Command line
locust -V
Locustfile contents
Python version
3.8.5
Locust version
gevent-23.9.1 greenlet-3.0.3. locust-2.20.1
Operating system
macOS m1
The text was updated successfully, but these errors were encountered: