You are not logged in.

#1 2012-11-09 03:21:56

rino
Member
Registered: 2012-05-02
Posts: 7

[Solved] python2-nose not working, despite being installed

I had trouble with this the other day, but got it to work... then came back again a couple days later, have trouble, and can't figure it out! I feel like I'm missing something really simple.

I installed python2-nose. If I double-check with pacman -Q, it's indeed installed:

$ pacman -Q | grep python
python2 2.7.3-2
python2-distribute 0.6.29-1
python2-nose 1.2.1-2
python2-pip 1.2.1-2
python2-virtualenv 1.8.2-1

I cd into the correct directory and input: 'nosetests', which results in:

 $ nosetests
bash: nosetests: command not found

I can successfully use 'import nose' from within the python interpreter.

What am I doing wrong??

Last edited by rino (2012-11-09 06:26:35)

Offline

#2 2012-11-09 06:19:32

jrmrjnck
Member
From: USA
Registered: 2011-01-17
Posts: 32

Re: [Solved] python2-nose not working, despite being installed

I don't know anything about python, but it looks like python2-nose provides the executables "nosetests2" and "nosetests-2.7" (rather than "nosetests").

Offline

#3 2012-11-09 06:26:06

rino
Member
Registered: 2012-05-02
Posts: 7

Re: [Solved] python2-nose not working, despite being installed

Ack!!! I knew it was something really simple. Thank you for the help.

I should have done what jrmrjnck did: Look at the what executable(s) the package contains to see if I was using bad input. I feel silly tongue

Offline

Board footer

Powered by FluxBB