Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Locust command not found" returns even after I have installed Locust on Ubuntu

I have installed locust using the pip command and when I move forward towards verifying the installation using this command: locust -v , it throws the following line back: Command Not Found

Secondly, when I installed Locust, some statements showed up on console as can be seen in the image below.

enter image description here

like image 882
Taimur Rasheed Khan Avatar asked Oct 15 '25 14:10

Taimur Rasheed Khan


1 Answers

The message in yellow is the problem. Add that directory to your PATH variable.

export PATH=/home/purelogics/.local/bin:$PATH

After updating path, locust -V will work as expected.

like image 133
Cyberwiz Avatar answered Oct 18 '25 22:10

Cyberwiz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!