1

Currently, I am using latest version of Django 1.9. I have a project that is written in Django 1.8

When I tried to runserver, I encountered the following error

my first image

What should I do as I do not want to downgrade to Django 1.8 to run the project?

Edit: The above problem is due to lack of python-decouple module. After I install decouple module and try to runserver again it gives another error. image 2

shuttle87
  • 15,466
  • 11
  • 77
  • 106
3d510
  • 65
  • 3
  • 11

2 Answers2

2

It is not because you use Django 1.9 that you get that error, it is because that module is not install at the moment. Run pip install python-decouple to install the module.

noteness
  • 2,440
  • 1
  • 15
  • 15
0

In my case installing python-decouple also outside the vitualenv solved the problem.

comp@debian:~/Desktop/prj$sudo pip install python-decouple
(venv) comp@debian:~/Desktop/prj$pip install python-decouple
7guyo
  • 3,047
  • 1
  • 30
  • 31