开发者

why the Pyqt application implemented and worked well in VISTA can not run in Windows XP?

开发者 https://www.devze.com 2023-02-20 20:09 出处:网络
all, I implemented an application in my laptop (vista) with PyQt and it worked quite well. But if I want to run it in 开发者_运维百科a desktop of Windows XP system, an error occured! It says the confi

all, I implemented an application in my laptop (vista) with PyQt and it worked quite well. But if I want to run it in 开发者_运维百科a desktop of Windows XP system, an error occured! It says the configuration was wrong. What is the reason (by this i mean does it matter which system I used??)and how to solve it please? thanks!!!


More info would be useful, but this sounds familiar to a problem I had when freezing apps using py2exe. Is this your exact error message?:

The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix the problem.

I managed to get around this by installing the Microsoft Visual C++ 2008 SP1 Redistributable Package from http://download.microsoft.com.

This was an error I had when using py2exe. After switching over to PyInstaller, which bundles the runtimes during freezing, the problems went away without having to install the C++ runtimes on an XP machine. There may even be a way to bundle the runtimes using py2exe, but I've not looked.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号