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

Viewed 1599

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

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.

Related