*py execution problem

upf

New member
Local time
7:46 AM
Messages
13
Hey guys,
I've started to learn python and I have problem with executing *py files. I get this error :
Code:
There was a problem sending the command to the program

I have windows 7 x64 and installed python 3.1 . I'm using firewall and I've disabled it.
 

My Computer

OS
windows 7

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
If you type python at the command prompt, do you receive a
>>>

If yes, type print "Hello"

Does it print?

Then to execute your script, type

python yourscriptname.py
 

My Computer

Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
MilesAhead thank you for your reply but did not helped. Python that is installed on my machine is a 64 bit.

Lemur, thank you for your reply but problem is that if I execute python commands in cmd window or in IDLE it works but the error message pops up(not when run IDLE). If I try to double click on *py file then only pops up error message.
 

My Computer

OS
windows 7
Are you using the ActivePython distro? I've had good luck with it on Windows. Although I haven't tried it on 64 bit. I've been moving back into C#/C++ related stuff lately and away from scripting for the time being.
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
I've tried Active Python but happens the same thing. Actualy I can run *py scripts without problem but the error message pops up too. Anyway, thank you very much.
 

My Computer

OS
windows 7
If there are still python groups on usenet I would try there. Searching the error message I see several with Python in the text but no real germane info. If I remember correctly there was supposed to be some changes in Vista and W7 how programs are launched programmatically as opposed to XP. Maybe there's a glitch they haven't ironed out yet.

edit: as an experiment, if you are running UAC you could disable it totally and see if the error message goes away.
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Back
Top