django - Python 2.6 on MacOSX - ImportError: No module named _collections -


i'm little bit baffled error i'm getting when try runserver or syncdb - server running fine other night when last logged on, have no idea why of sudden it's not working. google gave me following page doesn't address issue.

let me know if need more if console information below isn't enough. not efficient django yet, complete beginner really, , i'm not sure why isn't working.

pythoness-410:auth gfleche$ python manage.py runserver traceback (most recent call last):   file "manage.py", line 8, in <module>     django.core.management import execute_from_command_line   file "/library/frameworks/python.framework/versions/2.6/lib/python2.6/site-packages/django/core/management/__init__.py", line 1, in <module>     import collections   file "/library/frameworks/python.framework/versions/2.6/lib/python2.6/collections.py", line 8, in <module>     _collections import deque, defaultdict importerror: no module named _collections 

thank , let me know.

django attempting issue following command (or variant of it):

import collections 

and failing. because installation missing components . can verify it's not django related issue doing following:

pythoness-410:auth gfleche$ python >>> import collections 

if error back, it's issue python installation - since collections has been around time, , part of standard install.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -