简体   繁体   English

64位Windows计算机上的32位python

[英]32 bit python on 64 bit windows machine

I've downloaded pythonxy (2.7.6.1) on my new 64 bit Windows machine (Windows 7 Enterprise, SP1). 我已经在新的64位Windows计算机(Windows 7 Enterprise,SP1)上下载了pythonxy(2.7.6.1)。 When I try to run python, I get an error saying the side-by-side configuration was incorrect. 当我尝试运行python时,出现错误,提示并行配置不正确。 WinPython 32 bit (2.7.6.3) shows the same behavior, WinPython 64 bit is fine. WinPython 32位(2.7.6.3)表现出相同的行为,WinPython 64位很好。

However, I badly need to compile Python modules with boost and found myself taking the first few steps into what I believe will be searching-the-internet/configuration/compilation hell for 64 bit, so I'd rather try to make the 32-bit python work, for which I have my whole MinGW procedure set up and working. 但是,我非常需要使用boost编译Python模块,并发现我迈出了我认为将搜索64位的互联网/配置/编译地狱的第一步,所以我宁愿尝试将32-位python工作,我已经完成了我的整个MinGW程序并进行了工作。 Does anybody know what I need to do in order to fix the side-by-side error? 有人知道我需要做些什么来解决并排错误吗? Install some redristributable package or something like that? 安装一些可重新分发的软件包或类似的东西?

From the event log message, it looks like it wants a newer version of the VC90 C-runtime. 从事件日志消息看,它似乎需要更新的VC90 C运行时版本。 Two options: 两种选择:

  1. The installer may have installed a newer redistributable, but a reboot may still be required to finish the process. 安装程序可能已安装了较新的可再发行文件,但仍可能需要重新启动才能完成该过程。

  2. Try installing the latest C-runtime distributable yourself: Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) . 尝试自己安装最新的C运行时可分发文件: Microsoft Visual C ++ 2008 SP1可再分发软件包(x86)

I just got an answer from one of my colleagues who told me had the exact same problem. 我刚刚从我的一位同事那里得到了答案,他们告诉我也存在同样的问题。 The solution was indeed downloading and installing a version of vcredist_x86.exe, but the trick is to find the exact right one. 解决方案的确是下载并安装了vcredist_x86.exe版本,但是诀窍是找到正确的版本。 Apparently you can get to a page somewhere from where you can choose the right version. 显然,您可以从某个页面上选择合适的版本。 Sorry for not being able to give more exact information, I just have the file now and it works, but it doesn't even say the version number in the file name. 抱歉,无法提供更多确切的信息,我现在有了文件,它可以工作,但它甚至没有在文件名中说出版本号。 This is all very obscure for my taste, but then I'm not a Windows guy. 就我的口味而言,这一切都很晦涩,但是我不是Windows专家。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM