Friday, August 26, 2011

Re: Installation

Guys,
 
I have corrected the following,
 
1. Uninstalled Python 3.x & Installed Python 2.7.1
 
Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
 
2. Created a PYTHONPATH variable
PYTHONPATH and value set to c:\Django-1.3
 
 
Still, I get the same error,
 
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    django
NameError: name 'django' is not defined
 
I have not installed anything other than downloading and setting the path..
 
What else should I do to correct this problem? If anyone can give me step to step process that would be helpful.
 
Thanks,
Prem
On Fri, Aug 26, 2011 at 9:29 AM, donaldww <donald.william.wilson@gmail.com> wrote:
Django is not compatible with version 3.x of Python. The django
library was most likely installed into your 2.x lib.

DW

On Aug 25, 11:47 pm, prem <prem1...@gmail.com> wrote:
> Hi,
>
> Im trying to install Django but Im not succcessfull.
>
> The python has been installed properly.
>
> This is my python shell,
>
> Python 3.2.1 (default, Jul 10 2011, 21:51:15) [MSC v.1500 32 bit
> (Intel)] on win32
> Type "copyright", "credits" or "license()" for more information.
>
> When I try import django command, I get the following error,
>
> Traceback (most recent call last):
>   File "<pyshell#2>", line 1, in <module>
>     import django
> ImportError: No module named django
>
> Python is located & installed in C:/python32 folder
> Django is located in C:/Django-1.0.4 folder
>
> This is how my path variable looks like, If you notice you can see
> Python & Django folder at the last.
>
> C:\Hyperion\AnalyticServices\bin;C:\Hyperion\AnalyticServices\bin;C:
> \Hyperion\AnalyticServices\bin;C:\app\PremVidya\product
> \11.2.0\dbhome_1\bin;C:\Hyperion\AnalyticServices\bin;C:\Hyperion
> \AnalyticServices\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%
> \System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:
> \Program Files\Dell\Dell Wireless WLAN Card;C:\Program Files\Common
> Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Microsoft SQL
> Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS
> \Binn\;%HYPERION_HOME%\common\ODBC\Merant\5.2\Drivers;C:\Hyperion/
> common/EssbaseRTC/9.3.1/bin;C:\Hyperion\BIPlus\bin;C:\Hyperion\BIPlus
> \lib;C:\Hyperion\common\SAP\bin;C:\Hyperion\common\CLS\9.3.1\bin
> \windows;C:\Program Files\QuickTime\QTSystem\;C:\Python32;c:
> \Django-1.0.4
>
> Please help me out,
>
> Thanks,
> Prem

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
Prem
408-393-2545

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment