Hi

I've installed python 2.5.2 into D:\P25 folder.
Then i installed diango using python setup.py install.
After that, when i typed:

>>> import django

everything was ok, but when i type:

>>> import diango.db

i get the following message:



Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "d:\P25\Lib\site-packages\django\db\__init__.py", line 9, in
<module>
    if not settings.DATABASE_ENGINE:
  File "d:\P25\Lib\site-packages\django\conf\__init__.py", line 28, in
__getattr
__
    self._import_settings()
  File "d:\P25\Lib\site-packages\django\conf\__init__.py", line 59, in
_import_s
ettings
    self._target = Settings(settings_module)
  File "d:\P25\Lib\site-packages\django\conf\__init__.py", line 94, in
__init__
    raise ImportError, "Could not import settings '%s' (Is it on
sys.path? Does
it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'D:\P5\Lib\site-packages
\django;D:\P25\Li
b\site-packages;D:\P25;D:\P5\Lib\site-packages\django\bin;D:\P5\Lib
\site-package
s\django\bin\mysite;;D:\P5\Scripts\mysite' (Is it on sys.path? Does it
have synt
ax errors?): No module named D:\P5\Lib\site-packages\django;D:\P25\Lib
\site-pack
ages;D:\P25;D:\P5\Lib\site-packages\django\bin;D:\P5\Lib\site-packages
\django\bi
n\mysite;;D:\P5\Scripts\mysite


I also tried with Python2.6, but it didn't work too.
I searched tchrought the internet, but I didn't find any help.


What is the solution for this problem ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to