certsocietegenerale/FIR

Error migrate.py

derJosh opened this issue · 1 comments

Following the installation instruction for production there is an error I donnt know how to handle:

./manage.py migrate --settings fir.config.production

Traceback (most recent call last):
File "./manage.py", line 8, in
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management

System:

Linux fir 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

had to redo "sudo pip install -r requirements.txt" and then it worked