I installed Nose on a Mac OSX 10.10.5 with Python2.7.9 using easy_install
. The installation appeared to be successful:
Collecting nose
Downlo
On UNIX-like systems like OS X, the script should be in /usr/local/bin
. Make sure that directory is in the PATH
environment variable in the shell that you use.
If not, you can also locate it using find
, e.g:
find / -type f -name 'nosetests*' -perm +111 -print -quit
This means; search for a file whose name starts with nosetests
, which has execute permissions set. Print the path name and stop.
There are lots of error occurred when using pip
install packages on Mac OS. So I recommend you install nose
using easy_install
.
$ pip uninstall nose
$ sudo easy_install nose
Then you can try nosetests
now :)