p-e-w / maybe

:open_file_folder: :rabbit2: :tophat: See what a program does before deciding whether you really want it to happen (NO LONGER MAINTAINED)
6.35k stars 163 forks source link

bash: program: No such file or directory #9

Closed Loc-Tran closed 8 years ago

Loc-Tran commented 8 years ago

user@user-desktop:~/Desktop$ maybe mkdir test bash: program: No such file or directory

Not sure if it's the program or it's just an issue with my Ubuntu set up. Installed via pip.

PenguinKenny commented 8 years ago

Are you on 32-bit or 64-bit Ubuntu?

ghost commented 8 years ago

To check if maybe was installed correctly and is also in your path, could you please run

which maybe

Ideally, it'll output the location of maybe's binary provided your path can find it:

/usr/local/bin/maybe

If you're not seeing that, maybe may not have installed correctly, or at least wasn't added to your path. Did you install it via pip? If so, could you run:

pip show maybe

That should output the installed maybe version info. If it doesn't show any info, pip doesn't have it installed. If that's the case, try installing via pip. what output do you get from running:

sudo pip install maybe

If you're getting something along the lines of pip: Command not found, you'll want to make sure you have pip and python installed. Python 2.7.11 should come bundled with pip and you can get it here: https://www.python.org/downloads/release/python-2711/

Loc-Tran commented 8 years ago

I am 64 bit ubuntu.

This shows up when I use pip show maybe

Name: maybe Version: 0.3.0 Location: /home/user/.local/lib/python2.7/site-packages Requires: blessings, python-ptrace

I tried reinstalling maybe again using sudo pip install maybe and it worked. I did pip install maybe without sudo yesterday but I don't have the output.

I have no idea why it's working now, thanks for the help though.

p-e-w commented 8 years ago

I'm closing this as the problem seems to have been solved for the OP and the original issue cannot be determined anymore.