Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lxle opened this issue Jul 21, 2019 · 1 comment
Open

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

lxle opened this issue Jul 21, 2019 · 1 comment

Comments

@lxle
Copy link

lxle commented Jul 21, 2019

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?

@darxtrix
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants