darxtrix / ptop

An awesome task manager written in python. :computer:

Home Page:http://darxtrix.in/ptop/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

lxle opened this issue · comments

commented

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?

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.