print 'hello' -> SyntaxError: invalid syntax

V

ValdezDE

I try to install Python in a Dell D620 with XP PRO version 5.1.2600
and I am getting this error. I assume that some dlls are missing but I
installed form a fresh python-2.5.1.msi without errors msg.

Thanks

Roberto

Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information. File "<stdin>", line 1
import this
^
SyntaxError: invalid syntax File "<stdin>", line 1
2 + 2
^
SyntaxError: invalid syntax File "<stdin>", line 1
print 'Hello'
^
SyntaxError: invalid syntax File "<stdin>", line 1
help
^
SyntaxError: invalid syntax
 
J

Jon \Fluffy\ Saul

I try to install Python in a Dell D620 with XP PRO version 5.1.2600
and I am getting this error. I assume that some dlls are missing but I
installed form a fresh python-2.5.1.msi without errors msg.

Thanks

Roberto
Sounds like a bad install.
Try reinstalling, or re-downloading the installer and reinstall. Try both even.
 
A

ajaksu

I try to install Python in a Dell D620 with XP PRO version 5.1.2600
and I am getting this error. I assume that some dlls are missing but I
installed form a fresh python-2.5.1.msi without errors msg.

Thanks

Roberto

What is the install path? And what is your locale?

What happens if you type "Ctrl + m" instead of Return after your input?
 
V

ValdezDE

What is the install path? And what is your locale?

What happens if you type "Ctrl + m" instead of Return after your input?

Python is installed in c:\Python25 ans "ctr + m" produce the same
error msg as Return.

I did a new install and the problem is still there :-(

thanks

Roberto
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top