well, is 7.04, site-packages is here: /usr/lib/python2.5/site-packages/ but your problem obviously precedes this. did you muck with you manage.py file?
or, when you say "import setting.py", you're not literally typing "import setting.py" are you? make sure you're not including the extension in your manage.py, or anywhere else you're calling it. (same goes for DJANGO_SETTINGS_MODULE) derek Xan wrote: > Hi, > > * I have installed django 0.96 in ubuntu 7.04 [http:// > packages.ubuntu.com/gutsy/python/python-django] (when I run dpkg -l I > get version "0.96-1~feisty1") > > * I want to install deseb and I follow installation instructions > [http://code.google.com/p/deseb/wiki/Installation] > > * The problem is that, after I do import als setting.py, I get the > following error: > > python manage.py runserver > Error: Can't find the file 'settings.py' in the directory containing > 'manage.py'. It appears you've customized things. > You'll have to run django-admin.py, passing it your settings module. > (If the file settings.py does indeed exist, it's causing an > ImportError somehow.) > > * I think that the problem is that I don't know where is > "<python_path>/site-packages". I created the directory "site- > packages" in /usr/share/python/ and I put "deseb" as a subdirectory > > Where is the error? > > Thanks in advance, > Xan. > > > > > -- looking to buy or sell anything? try: http://allurstuff.com it's a classified ads service that shows on a map where the seller is (think craigslist + google maps) plus it's 100% free :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---