1

I following this pluralsight course and running into this error everytime I run the command:

python manage.py test --settings=todobackend.settings.test

I'm new to the Django framework; Could the problem be that my django version (1.9.0) only supports python 3.x and not 2.x?

python --version
Python 2.7.13

Click on pic to see larger, clearer image.

enter image description here

enter image description here

pelican
  • 5,846
  • 9
  • 43
  • 67

1 Answers1

5

It looks as if you have not installed django-nose in your virtual environment. You can install it with:

pip install django-nose
Alasdair
  • 298,606
  • 55
  • 578
  • 516
  • 1
    Thanks so much Alasair, after installing django-nose in my virtual env, I ran into this other error: manage.py: error: no such option: --with-spec A quick google revealed that I needed this additional package, Pinocchio, which I installed with pip install Pinnocchio and reran my cmd, python manage.py test --settings=todobackend.settings.test, and it worked and passed all tests. Just for future references for anyone running into this issue; thanks again ! – pelican Jan 03 '18 at 13:49