srsudar / eg

Useful examples at the command line.
MIT License
1.82k stars 99 forks source link

[SOLVED] [TerminalIPythonApp] WARNING | File not found: u'/usr/bin/eg/eg_exec.py' #45

Closed pirpyn closed 9 years ago

pirpyn commented 9 years ago

Hi, first, congrats and thanks for this very helpfull program. But I have a small problem after installing it with pip on Ubuntu (15.04), I always get this

payen:~$ sudo pip install eg

Downloading/unpacking eg Downloading eg-0.1.1.tar.gz Running setup.py (path:/tmp/pip-build-Skmbws/eg/setup.py) egg_info for package eg /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_requires' warnings.warn(msg) Installing collected packages: eg Running setup.py install for eg /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_requires' warnings.warn(msg) changing mode of build/scripts-2.7/eg from 644 to 755 changing mode of /usr/local/bin/eg to 755 Successfully installed eg Cleaning up...

payen:~$ eg tar

[TerminalIPythonApp] WARNING | File not found: u'/usr/bin/eg/eg_exec.py'

What did I did wrong ?

srsudar commented 9 years ago

Hmm that is strange. Did you previously have a manual installation by cloning the git directory? I don't believe that eg_exec.py should be showing up otherwise. What is your output from the following commands?

  1. which -a eg
  2. lesswhich eg``
pirpyn commented 9 years ago

EDIT : solved Somehow, my computer keeped in memory the soft link to eg (in the manual installation), even if I erased it; I just rebooted my computer and everything is back to normal. Thanks for the help

srsudar commented 9 years ago

Whoops, backticks not apostrophes. We're just trying to inspect your eg file. Now that we know where it is, run this:

less /usr/local/bin/eg

What is the output?

On Fri, Jul 31, 2015, 4:17 AM pierrepayen notifications@github.com wrote:

Thanks, yeah i tried first the manual instalation but i have erased everuthing before installing it with pip.

payen:~$ which -a eg

/usr/local/bin/eg

payen:~$ less 'which eg'

which eg: Aucun fichier ou dossier de ce type

— Reply to this email directly or view it on GitHub https://github.com/srsudar/eg/issues/45#issuecomment-126657793.

pirpyn commented 9 years ago

Look at my previous message :)

srsudar commented 9 years ago

Ah great! I was replying via email and it hadn't sent me the updated message. Glad to hear it's working!