Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » CreateProcess error=2, Can not run program "python" on Ant
CreateProcess error=2, Can not run program "python" on Ant [message #1758910] Tue, 04 April 2017 13:43 Go to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
I have a
`C:\Users\Sony\Desktop\Project\Workspace\testpython\verify_fam_extended.xml:52: Execute failed: Cannot run program "python" (in directory "C:\Users\Sony\Desktop\Project\Workspace\testpython\backend\generated"): CreateProcess error=2, The system cannot find the file specified` error when I run my xml code through Ant.
What should I do?
<exec dir="backend/generated" executable="python">
        <arg line=""/>
        <env key="PYTHONPATH" value="${dsltrans.install.path}:./backend/generated"/> 

Member of MDSE Research Group

[Updated on: Tue, 04 April 2017 13:45]

Report message to a moderator

Re: CreateProcess error=2, Can not run program "python" on Ant [message #1758986 is a reply to message #1758910] Wed, 05 April 2017 05:05 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4044
Registered: July 2009
Senior Member

This is an Ant question, not an Eclipse question. Check the documentation at , especially for any mentions of errors and return codes.

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Indigo RCP/RAP unable to open, but exe opens from cmd line
Next Topic:problem in eclipse
Goto Forum:

Current Time: Sun May 09 08:19:00 GMT 2021

Powered by FUDForum. Page generated in 0.03099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top