pythonnosesetup.py

Setup.py---nosetests: command not found


I successfully installed nose on my laptop and try to run nosestest. However, terminal reminds me that: "bash: nosetests: command not found."

What's strange is that, when I open up the Python interpreter in Terminal, and do something like:

import nose  
nose.main()

I get the expected result.

I tried to use

find / -type f -name 'nosetests*' -perm +111 -print -quit

from the answer Installed Nose but cannot use on command line. But the result pops out as:

find: /.DocumentRevisions-V100: Permission denied
find: /.fseventsd: Permission denied
find: /.Spotlight-V100: Permission denied
find: /.Trashes: Permission denied

FYI I'm following the steps of Learn Python the Hard Way.

THX


Solution

  • Credit is given to Installed Nose but cannot use on command line. the reply which was answered Aug 5 '16 at 6:17.