I'm trying to install the Python Imaging Library 1.1.6 for Python 2.6. After downloading the installation executable (Win XP), I receive the following error message:
我正在尝试为Python 2.6安装Python Imaging Library 1.1.6。下载安装可执行文件(Win XP)后,收到以下错误消息:
"Application failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem"
“应用程序无法启动,因为应用程序配置不正确。重新安装应用程序可能会解决此问题”
Any thoughts on what I have done / not done? The application has not been installed, and I can't import the module through the IDLE session. Thoughts?
关于我做了什么/没做过的任何想法?尚未安装该应用程序,我无法通过IDLE会话导入该模块。思考?
4 个解决方案
#1
3
It looks like an SxS ("side-by-side") issue. Probably the runtime libraries PIL is linked against are missing. Try installing a redistributable package of a compiler which was used to build PIL.
它看起来像一个SxS(“并排”)问题。可能缺少链接的运行时库PIL。尝试安装用于构建PIL的编译器的可再发行组件包。
MSVC 2005 redist
MSVC 2008 redist
#2
1
Install Python "for all users", not "just for me".
为所有用户安装Python,而不是“仅为我”。
#3
0
I got that same message recently to do with the wxPython library. It was because wxPython had been built using a later version of Visual C++ than I had on my PC. As atzz suggests, one solution is to install the appropriate redistributable package. Try a Google search for 'Microsoft Visual C++ 2008 Redistributable Package' and do the download. If that doesn't work, repeat for the 2005 version.
我最近得到了与wxPython库相同的消息。这是因为wxPython是使用Visual C ++的更高版本构建的,而不是我在PC上构建的。正如atzz建议的那样,一种解决方案是安装适当的可再发行组件包。尝试在Google上搜索“Microsoft Visual C ++ 2008 Redistributable Package”并进行下载。如果这不起作用,请重复2005版本。
#1
3
It looks like an SxS ("side-by-side") issue. Probably the runtime libraries PIL is linked against are missing. Try installing a redistributable package of a compiler which was used to build PIL.
它看起来像一个SxS(“并排”)问题。可能缺少链接的运行时库PIL。尝试安装用于构建PIL的编译器的可再发行组件包。
MSVC 2005 redist
MSVC 2008 redist
#2
1
Install Python "for all users", not "just for me".
为所有用户安装Python,而不是“仅为我”。
#3
0
I got that same message recently to do with the wxPython library. It was because wxPython had been built using a later version of Visual C++ than I had on my PC. As atzz suggests, one solution is to install the appropriate redistributable package. Try a Google search for 'Microsoft Visual C++ 2008 Redistributable Package' and do the download. If that doesn't work, repeat for the 2005 version.
我最近得到了与wxPython库相同的消息。这是因为wxPython是使用Visual C ++的更高版本构建的,而不是我在PC上构建的。正如atzz建议的那样,一种解决方案是安装适当的可再发行组件包。尝试在Google上搜索“Microsoft Visual C ++ 2008 Redistributable Package”并进行下载。如果这不起作用,请重复2005版本。