Python Manage.py Syncdb Error No Module Named Staticfiles
Contents |
here for a quick overview of the site django installed apps no module named Help Center Detailed answers to any questions you might no module named registration have Meta Discuss the workings and policies of this site About Us Learn more no module named django about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Django Error No Module Named
Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up python manage.py syncdb error: No module named south. Django installation outside Virtualenvwrapper django no module named app called up vote 0 down vote favorite I have Django installed in a virtualenvwrapper instance on which I've installed South. However When calling python manage.py syncdb the Django installation outside of the virtualenvwrapper is called and does not find south. How do I fix this? [~/devground/django_gilgamesh]# pip install south Downloading/unpacking south Downloading South-0.8.4-py2.py3-none-any.whl (135kB): 135kB downloaded Installing collected packages: south Successfully installed south Cleaning up... (django_gilgamesh)sdye@dy-borg.com [~/devground/django_gilgamesh]# python manage.py syncdb Traceback (most recent call last): File "manage.py", line 10, in
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies django no module named settings of this site About Us Learn more about Stack Overflow the company Business
No Module Named Polymorphic
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges
Importerror: No Module Named Rest_framework
Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: http://stackoverflow.com/questions/22672015/python-manage-py-syncdb-error-no-module-named-south-django-installation-outsid Sign up django import error - No module named core.management up vote 126 down vote favorite 17 Ok, I see plenty of these errors around. I have tried everything I know to do and have yet to figure this out. I am working on a development server running python 2.5 and Django 1.3. Django 1.3 was installed using python setup.py install after unpacking http://stackoverflow.com/questions/6049933/django-import-error-no-module-named-core-management the tar.gz download. All works well, I seldom have the need to run manage.py but am trying to use the new staticfiles app and am running into problems. python manage.py collectstatic Traceback (most recent call last): File "manage.py", line 2, in
inHidden fieldsSearch for groups or messages
virtualenv failing: Error: No module named staticfiles #1April 23, 2012 13:26:59 S. Registered: 2009-11-02 Reputation: 0 Profile Send e-mail call_command('syncdb') in virtualenv failing: Error: No module named staticfiles I'm trying to port an existing app to Django 1.4 so I'm using virtualenv. ./manage.py syncdb works but my old script that calls syncdb and creates dummy data doesn't. My code:os.environ="settings"call_command('syncdb', interactive=False)is giving:Error: No module named staticfilesI assume it's using Django installed in /usr/lib64/python instead of the virtualenv? Any ideas how to fix this? Thanks-- You received this message because you are subscribed to the Google Groups "Django users" group.To view this discussion on the web visithttps://groups.google.com/d/msg/django-users/-/0vZ9QQkEq3MJ.To post to this group, send email to django-users@googlegroups.com.To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com.For more options, visit this group athttp://groups.google.com/group/django-users?hl=en. Offline Report | Reply #2April 23, 2012 13:39:48 S. Registered: 2009-11-02 Reputation: 0 Profile Send e-mail call_command('syncdb') in virtualenv failing: Error: No module named staticfiles Bah - I completely forgot that my gen.py script had this :#!/usr/bin/pythonOn Monday, 23 April 2012 07:26:55 UTC-5, Stodge wrote:>> I'm trying to port an existing app to Django 1.4 so I'm using virtualenv. > ./manage.py syncdb works but my old script that calls syncdb and creates > dummy data doesn't. My code:>> os.environ="settings"> call_command('syncdb', interactive=False)>> is giving:>> Error: No module named staticfiles>> I assume it's using Django installed in /usr/lib64/python instead of the > virtualenv? Any ideas how to fix this? Thanks>-- You received this message because you are subscribed