Executing the command gives an error of missing dependency

Bug #2068036 reported by Sébastien Bernery
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
locust (Ubuntu)
New
Undecided
Unassigned

Bug Description

After having installed python3-locust, I have this issue :

```
Traceback (most recent call last):
  File "/home/sebastien/.local/bin/locust", line 5, in <module>
    from locust.main import main
  File "/usr/lib/python3/dist-packages/locust/__init__.py", line 18, in <module>
    from .contrib.fasthttp import FastHttpUser
  File "/usr/lib/python3/dist-packages/locust/contrib/fasthttp.py", line 23, in <module>
    from charset_normalizer import detect
ModuleNotFoundError: No module named 'charset_normalizer'
```

After installation of python3-charset-normalizer, the executable locust works perfectly.

I use Ubuntu noble 24.04LTS.

Here are the versions of packages during installation :

15-python3-locust_2.24.0-1_all.deb
python3-charset-normalizer_3.3.2-1_all.deb

Have a nice day.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.