简体   繁体   中英

ImportError: No module named app_manage when running Django with django-cms installed

I had a local working django project based on django–cms. its not working anymore when i activate virtualenv. Here full Error message:

Ajays-MacBook-Pro:django-cms-release-3.3.x ajayvelu$ python manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 6, in <module>
    import app_manage
ImportError: No module named app_manage

You need to run the manage.py instance that was created when you installed DjangoCMS. For example, if you created the CMS in /app you must set the working directory to /app and run python manage.py runserver locally.

If you run the manage.py from the djangocms source directory you will get the error you reported.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM