Search code examples
pythondjangoubuntu-16.04linodewagtail

Unable to continue Wagtail installation, "./migrate.py migrate" traceback


I'm installing Wagtail on Linode Ubuntu 16.04 LTS. I followed the following guides so far:

For the second link, I followed the installation guides for Python, pip, virtualenv and the required Pillow libs.

I got up to the following in the installation process:

$ pip install -r requirements.txt
$ ./manage.py migrate

The migrate command produces the following error:

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

I haven't been able to find a solution for this. I am doing all of this in venv. Any help is greatly appreciated.


Solution

  • I solved the issue by re-doing everything. Created new virtualenv, activated, and continued from there. Everything seems to be working correctly so far. Thanks!