Instructions from Django to run under Python don't work.

43 views
Skip to first unread message

Lisa Jennings

unread,
Jan 17, 2015, 9:23:25 PM1/17/15
to django...@googlegroups.com
I have been trying for two days to install django with Python 3.4 operating in windows 7.  Everything I try according to your instructions, fails. The command "import django" seems to work but the command "print (django.get_version()) does not. I am trting to get this to work so I can install ESMPY a version of ESMF. Any help will be appreciated.
Megan

Russell Keith-Magee

unread,
Jan 18, 2015, 7:05:58 PM1/18/15
to Django Users
On Sun, Jan 18, 2015 at 10:23 AM, Lisa Jennings <engin...@gmail.com> wrote:
I have been trying for two days to install django with Python 3.4 operating in windows 7.  Everything I try according to your instructions, fails. The command "import django" seems to work but the command "print (django.get_version()) does not. I am trting to get this to work so I can install ESMPY a version of ESMF. Any help will be appreciated.
Megan

Hi Megan,

It would be helpful to know what "doesn't work" means. Do you get an error message? If so, what is it? If not, do you get *absolutely nothing*, or do you get something, but just not what you expect to get? Does the command return you to the command prompt? 

Without more details about what you're seeing, it's almost impossible to guess the source of the problem you're having.

Yours
Russ Magee %-)

Lisa Jennings

unread,
Jan 18, 2015, 7:41:51 PM1/18/15
to django...@googlegroups.com
I keep getting syntax errors.

Some Developer

unread,
Jan 18, 2015, 9:38:49 PM1/18/15
to django...@googlegroups.com
On 19/01/15 00:41, Lisa Jennings wrote:
> I keep getting syntax errors.
>

What syntax errors? Be specific.

Vinayak Kaniyarakkal

unread,
Jan 19, 2015, 12:06:56 AM1/19/15
to django...@googlegroups.com


On Sunday, 18 January 2015 07:53:25 UTC+5:30, Lisa Jennings wrote:
I have been trying for two days to install django with Python 3.4 operating in windows 7.  Everything I try according to your instructions, fails.
 
The command "import django" seems to work
That means django is installed properly.
 
but the command "print (django.get_version()) does not.
If you get syntax error for print (django.get_version()), you may be using python 2.
Are you sure that you are using python3??

I am trting to get this to work so I can install ESMPY a version of ESMF. Any help will be appreciated.
Can you copy paste whatever is there on your python shell?  It would be easier for everyone to find the answer.  Mine is a guess.
 
Megan
Reply all
Reply to author
Forward
0 new messages