Zidek / django-basic-apps

Automatically exported from code.google.com/p/django-basic-apps
0 stars 0 forks source link

ImportError: No module named dateutil /people/models.py #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python2.5 manage.py syncdb

Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File
"/home/dalidada/webapps/m3/lib/python2.5/django/core/management/__init__.py",
line 340, in execute_manager
    utility.execute()
  File
"/home/dalidada/webapps/m3/lib/python2.5/django/core/management/__init__.py",
line 295, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/home/dalidada/webapps/m3/lib/python2.5/django/core/management/base.py",
line 195, in run_from_argv
    self.execute(*args, **options.__dict__)
  File
"/home/dalidada/webapps/m3/lib/python2.5/django/core/management/base.py",
line 221, in execute
    self.validate()
  File
"/home/dalidada/webapps/m3/lib/python2.5/django/core/management/base.py",
line 249, in validate
    num_errors = get_validation_errors(s, app)
  File
"/home/dalidada/webapps/m3/lib/python2.5/django/core/management/validation.py",
line 28, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File
"/home/dalidada/webapps/m3/lib/python2.5/django/db/models/loading.py", line
128, in get_app_errors
    self._populate()
  File
"/home/dalidada/webapps/m3/lib/python2.5/django/db/models/loading.py", line
57, in _populate
    self.load_app(app_name, True)
  File
"/home/dalidada/webapps/m3/lib/python2.5/django/db/models/loading.py", line
72, in load_app
    mod = __import__(app_name, {}, {}, ['models'])
  File
"/home/dalidada/webapps/m3/m3project/../m3project/basic/books/models.py",
line 5, in <module>
    from basic.people.models import Person
  File "/home/dalidada/webapps/m3/m3project/basic/people/models.py", line
8, in <module>
    import dateutil
ImportError: No module named dateutil

Original issue reported on code.google.com by daryl.an...@gmail.com on 11 Oct 2008 at 3:35

GoogleCodeExporter commented 9 years ago
Make sure you have dateutil installed in your python path. Odd that it isn't 
there, I thought it came with most 
python installs.

Original comment by npbor...@gmail.com on 15 Oct 2008 at 7:26

GoogleCodeExporter commented 9 years ago
Looks like python 2.5.2  that came with ubuntu 8.04 server doesn't have this 
dateutil pre installed.

Original comment by pilyp...@gmail.com on 28 Nov 2008 at 3:04

GoogleCodeExporter commented 9 years ago
#Following solves this issue in ubuntu 8.04 server edition

sudo apt-get install python-dateutil

Original comment by pilyp...@gmail.com on 28 Nov 2008 at 3:07

GoogleCodeExporter commented 9 years ago
sudo apt-get install python-dateutil

Original comment by syed.riz...@mahiti.org on 4 May 2012 at 9:15