Taimur Rasheed Khan
Taimur Rasheed Khan

Reputation: 43

"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

Upvotes: 4

Views: 3700

Answers (1)

Cyberwiz
Cyberwiz

Reputation: 11426

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.

Upvotes: 4

Related Questions