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
When I started locust with this configuration, I get an error
Traceback (most recent call last):
File "d:\jhf\software\python\python370\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "d:\jhf\software\python\python370\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\jhf\software\python\python370\Scripts\locust.exe_main.py", line 5, in
File "d:\jhf\software\python\python370\lib\site-packages\locust_init.py", line 18, in
from .contrib.fasthttp import FastHttpUser
File "d:\jhf\software\python\python370\lib\site-packages\locust\contrib\fasthttp.py", line 24, in
from locust.env import Environment
File "d:\jhf\software\python\python370\lib\site-packages\locust\env.py", line 15, in
from .stats import RequestStats, StatsCSV
File "d:\jhf\software\python\python370\lib\site-packages\locust\stats.py", line 15, in
from typing import (
ImportError: cannot import name 'OrderedDict' from 'typing' (d:\jhf\software\python\python370\lib\typing.py)
Suggestion for repairing
in python370\lib\site-packages\locust\stats.py
del import OrderedDict as OrderedDictType,
replace 326 line "OrderedDictType" to "OrderedDict"
Environment
OS: windwos 10
Python version: 3.7.0
Locust version: (please dont file issues for anything but the most recent release or prerelease builds) 2.12.1 2.10.1
Locust command line that you ran: locust.exe --master -f collect.py --web-host="XXXXXXXXX"
The text was updated successfully, but these errors were encountered:
Describe the bug
pytnon : 3.7.0
locust: 2.12.1 2.10.1
When I started locust with this configuration, I get an error
Traceback (most recent call last):
File "d:\jhf\software\python\python370\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "d:\jhf\software\python\python370\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\jhf\software\python\python370\Scripts\locust.exe_main.py", line 5, in
File "d:\jhf\software\python\python370\lib\site-packages\locust_init.py", line 18, in
from .contrib.fasthttp import FastHttpUser
File "d:\jhf\software\python\python370\lib\site-packages\locust\contrib\fasthttp.py", line 24, in
from locust.env import Environment
File "d:\jhf\software\python\python370\lib\site-packages\locust\env.py", line 15, in
from .stats import RequestStats, StatsCSV
File "d:\jhf\software\python\python370\lib\site-packages\locust\stats.py", line 15, in
from typing import (
ImportError: cannot import name 'OrderedDict' from 'typing' (d:\jhf\software\python\python370\lib\typing.py)
Suggestion for repairing
in python370\lib\site-packages\locust\stats.py
del import OrderedDict as OrderedDictType,
replace 326 line "OrderedDictType" to "OrderedDict"
Environment
The text was updated successfully, but these errors were encountered: