Installed Nose but cannot use on command line

后端 未结 8 1337
南旧
南旧 2020-12-29 06:40

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         


        
8条回答
  •  忘掉有多难
    2020-12-29 07:18

    First, can you run 'python' from the command line? nosetests should be in that same directory:

    rich bin $ which python
    /home/rich/anaconda/bin/python
    rich bin $ which nosetests
    /home/rich/anaconda/bin/nosetests
    

    It should also be in the downloaded nose package:

    rich bin $ find /home/rich/anaconda -name nosetests
    /home/rich/anaconda/pkgs/nose-1.3.3-py27_0/bin/nosetests
    /home/rich/anaconda/pkgs/nose-1.3.7-py27_0/bin/nosetests
    /home/rich/anaconda/bin/nosetests
    

提交回复
热议问题