![]() |
|
|
|||||||
![]() |
Python - Re: This application has failed to start because the applicationconfiguration is incorrect |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
On 18/02/2009 5:49 AM, Sam Clark wrote:
> I am receiving the message "This application has failed to start because > the application configuration is incorrect" when I attempt to run a > compiled Python program on another machine. I have used py2exe on both a > 2.6.1 and a 2.6.0 version of the .py and .pyw files. Everything works > great on the machine where Python 2.6 is loaded, but fails on machines > where I copy the .exe to the machine. I'm a beginner at python > programming. In fact this is my first packaged program. Any thoughts at > a beginners level would be helpful. This will be due to the C runtime library not being installed correctly on the target machine. Python 2.6 has this problem more than earlier versions (due to the compiler used to build it) and the best way to address it isn't really clear yet unless you are willing to have them install these libraries via another Microsoft supplied installer. Probably the easiest workaround is to use Python 2.5 in the short term... Mark Mark Hammond |
|
|
|
|
#2 |
|
Posts: n/a
|
On 17 feb, 19:44, Mark Hammond <skippy.hamm...@gmail.com> wrote:
> On 18/02/2009 5:49 AM, Sam Clark wrote: > > > I am receiving the message "Thisapplicationhasfailedtostartbecause > > theapplicationconfiguration is incorrect" when I attempt to run a > > compiled Python program on another machine. I have used py2exe on both a > > 2.6.1 and a 2.6.0 version of the .py and .pyw files. Everything works > > great on the machine where Python 2.6 is loaded, but fails on machines > > where I copy the .exe to the machine. I'm a beginner at python > > programming. In fact this is my first packaged program. Any thoughts at > > a beginners level would be helpful. > > This will be due to the C runtime library not being installed correctly > on the target machine. * I had the same issue. After looking some "patch" solutions of putting manually some dlls on the dist folder, I realized that you can fix it by installing one of these packages, see which one fits your system: x86 http://www.microsoft.com/downloads/d...displaylang=en x64 http://www.microsoft.com/downloads/d...displaylang=en PS: Mark, this could be added to a kind of "Deployment" entry in py2exe wiki, it would be useful. Lorenzo |
|
|
|
#3 |
|
Posts: n/a
|
On 26/02/2009 4:51 AM, Lorenzo wrote:
> PS: Mark, this could be added to a kind of "Deployment" entry in > py2exe wiki, it would be useful. IIRC, I've never edited the py2exe wiki (despite appearances to the contrary sometimes, I don't formally maintain that package!). But that is the cool thing about Wiki's - *anyone* can add such information Cheers, Mark Mark Hammond |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Loading jars for Java Web Start | nhdsl | Software | 0 | 06-17-2009 02:21 PM |
| Cisco 2600 - Inbound NAT translation/Port-forwarding not working | Greg | Hardware | 0 | 11-20-2008 07:33 PM |
| How to open Web Application pages (ASPX) in Windows application. | arameshmca | Software | 1 | 02-07-2008 03:18 AM |
| Server Error in '/Forms' Application. | AxleWack | General Help Related Topics | 0 | 10-11-2007 01:47 PM |
| Burn process failed - help! Log file posted for help troubleshooting | Michael Mason | DVD Video | 1 | 08-16-2004 09:24 PM |