You needn't have Django in your path but the parent directory so you can import it. Le 26 août 2011 14:07, "prem" <prem1...@gmail.com> a écrit : > 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+unsubscr...@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/django-users?hl=en. >
-- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.