Tuesday 15 June 2010

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


I had a local working DJENGOGO project based on the DJENGO-CMS. Now when I activate VirtualAnv source env / bin / activate and Runworld python manage.py runerver , then it's not working all of a sudden Gone importError: no module cms . Full error message here:

  traceback (most recent call final): file "manage.py", line 10, & lt; Module & gt; execute_from_command_line (sys.argv) file "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, execute_from_command_line utility.execute (), file "/Library/Frameworks/Pythonkframework/Versions/2k7/lib/python2k7/site-packages/django/core/management/__init__kpy", line executed django.setup 354 () file " /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/__init__.py ", line 21, set in apps.populate (settings.INSTALLED_APPS) file" / Library / Frameworks / Python.framework / versions / 2.7 / lib / python2.7 / site-packages / Django / apps / registry.py ", line 85, populate app_config = AppConfig.create (entering) file" /Library/Frameworks/Python.framework /Versions/2.7/lib/python2 Module = import_module (entry) create file "/library/Frameworks/Python.framework/Versions/2.7/ Lib / python2.7 / importlib / .7 / site-packages / django / apps / config.py" in line 87, __ init__.py ", in line 37, impo Rt_module __import __ (name) importError: a module name CMS  

I do not understand because all things work in every way only The work I did 2 weeks ago was putting the directory where I was away from the project, to my desktop in second place. Anyone knows how to fix this thing or what is the reason for this.

PIP list:

  argparse (1.3.0) Binarineate (0.3.0) cookiere (0.8.0) coverage (3.7.1) distributed (0.7.3) DJ-database-URL (0.3.0) Jenjo (1.7.1) Dijengo-Elauth (0kl8k0) Dijengo-App Knfin (0.6) Dijengo-Otoslg (1.7.2) Dijengo-menu (2.0) Dijengo-braces (1.4 0) Django-cache-url (0.8.0) Django -Classic-Tag (0.4) Django-Configuration (0.8) Django-Crispy-Form (1.4.0) Django-Debug-Toolbar (1.2.2) Django-Extension (1.4.9) DJGango-Floppy Forms (1.3.0) Django-Front (0.4.3) Django-Ingested (1.3.0) Django-Model-Utilis (2.2) DJGENGO-MTPT (0.6.0) Django-Riversion (1.8.0) Django-Safe (1.0.1) Django- sekizai (0.7) Django-wymeditor (1.0) djangocms- administrator style (0.2.0) djangocms- founder (0.7.2) djangocms- text CKEditor (2.0.5) Dokyutils (0.12) html5lib (1.0b1) Jinja 2 (2.7 .3) MarkupSaffe (0.23) Fake (1.0.1) MySQL-Python (1.2.5) Oathilib (0.7.2) Pillow (2.6.1) PIP (1.5.6) Psycopg2 (2.5.4) Pagets (2.0.1 ) Python-Oppenid (2.2.5) Peataz (2013.8) PyYAML (3.11) Request (2.5.1) Request-Oath Lib ( 0.4.2) Setup tools (8.0) Six (1.4.1) South (0.8.4) Sphinx (1.2.3) Scalpers (0.1.14) Unicode-Slugif (0.1.1) Virtual (12.0.5) Waiters (0.8 .9) Verkejeung (0.9.6) Whirlite (1.0.6) wizardshare (0.1.2)  

Running your VirtualWhen will break it because it uses a full path. If you moved the folder in which it is virtualAng, then the path will no longer be for the packages of VirtualAnnawi. You should be put VirtualAnivove where it was first or made a new virtualwave.


No comments:

Post a Comment