Skip to content

No module named django #28

@benzid-wael

Description

@benzid-wael

I'm trying to install django-nonrel with mongodb support, below installed packages

git+https://github.com/django-nonrel/[email protected]
git+https://github.com/django-nonrel/djangotoolbox  # v1.8.0
git+https://github.com/django-nonrel/mongodb-engine  # v0.6.0
pymongo==3.1
mongoadmin==0.2
mongodbforms==0.3
mongoengine==0.10.0

and my settings file is as follow:

INSTALLED_APPS = (
    # 'django.contrib.admin',
    # 'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'djangotoolbox',
)

and for db settings:

DATABASES = {
   'default' : {
      'ENGINE' : 'django_mongodb_engine',
      'NAME' : 'mydb',
      'HOST': 'mongo'
   }
}

When I run manage.py syncdb, I got this error:

NotImplementedError: subclasses of BaseDatabaseIntrospection may require a get_table_list() method

and if I run manage.py without specifying any command, I got:

ImportError: No module named django

However django is installed and the pythonpath is properely configured

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions