ptop icon indicating copy to clipboard operation
ptop copied to clipboard

ptop is the name of another program so won['t launch

Open lxle opened this issue 6 years ago • 1 comments

I installed ptop in ubuntu successfully through pip. However when you try to launch ptop it can't find it because the terminal / system believes you're trying to launch a program called ptop in the repositories and suggests installing it with apt-get... it's an entirely different program

so how can i run ptop? is there a direct command i can use?

lxle avatar Jul 21 '19 15:07 lxle

Hey @lxle sorry for the delay. I was out of station.

When ptop is installed through pip, it is installed at /usr/local/bin( run $ which ptop to find it) which is present at system path (using $PATH variable). I think in your setup the directory /usr/local/bin is not included at the system path and ubuntu is trying to give you a suggestion to install ptop through apt-get as its the name of another package in the apt-get cache.

The mere solution would be to include the directory /usr/local/bin or maybe doing some symlinking in the system path. Let me know if I can be of any more help.

darxtrix avatar Jul 30 '19 14:07 darxtrix