Ubuntu: Can't use sniffer (Python auto-testing tool)



Question:

I'm running python3 on Xubuntu 16.04.

I installed sniffer (Python auto-testing tool) with

$ pip3 install sniffer  

I also installed pyinotify with

$ pip3 install pyinotify  

When I try to run

$ sniffer  

I get

sniffer: command not found  

What am I doing wrong?


Solution:1

It looks like your $PATH does not include $HOME/.local/bin. Use your favorite text editor to open ~/.profile and append the following to it:

PATH="$HOME/.local/bin:$PATH"  

Then, run this in the terminal:

source ~/.profile  

Incidentally, as I have explained here, if you had created your user account recently, your $PATH would have included $HOME/.local/bin by default.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »