Installing nose using pip, but bash doesn't recognize command on mac
I got this problem until I setup nose with sudo
:
sudo pip install nose
i had the same problem but this solved it.
- Install: nose2
- Then use: nose2 instead of nosetests to test program
Good Luck...!
I'm using OS X 10.11.1.
Do the following in the terminal:
Move into directory
~/Python/2.7/site-packages/
type
sudo easy_install pip
type
sudo easy_install virtualenv
type
sudo easy_install nose
type
sudo easy_install distribute
Follow the steps as instructed in the Learn Python The Hard Way book.