我是否只需要检查用户计算机上随 python 安装一起安装的 MSVCR90.dll 版本?
我正在对我的应用程序进行更新,在开始之前我迁移到 2.62,因为似乎是时候了。 由于 MSVCR90.dll,我直接遇到了使用 py2exe 构建应用程序时遇到问题的问题。 似乎有大量关于如何解决这个问题的信息,包括一些关于 SO 的很好的答案。
我正在向很可能拥有 32 位 XP 或 Vista 计算机的用户进行部署。 我的一些用户将在不久的将来迁移到 64 位 Vista。 我对这些问题的理解是,我必须确保它们具有与应用程序开发计算机上存在的 python 版本相关的正确 dll。 由于我有 x86 处理器,因此他们需要 x86 版本的 dll。 他们的计算机配置无关紧要。
这是正确的吗?或者如果我要将 dll 作为私有程序集提供,我是否必须考虑它们的体系结构?
感谢您的任何回复
I was working on an update to my application and before I began I migrated to 2.62 because it seemed to be the time to. I walked right into the issue of having problems building my application using py2exe because of the MSVCR90.dlls. There seems to be a fair amount of information on how to solve this issue, including some good answers here on SO.
I am deploying to users that more likely than not have 32 bit XP or Vista machines. Some of my users will be migrated to 64 bit Vista in the near future. My understanding of these issues is that I have to make sure they have the correct dlls that relate to the version of python that exists on the application development computer. Since I have an x86 processor then they need the x86 version of the dlls. The configuration of their computer is irrelevant.
Is this correct or do I have to account for their architecture if I am going to deliver the dlls as private assemblies?
Thanks for any responses
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据我收集和了解的信息,正确的答案是我必须担心我正在构建的应用程序所依赖的 Python 和 mx 版本中使用的 MSCVCR90 dll。 这很重要,因为这意味着如果用户有不同的配置,我将无法轻松解决该问题,除非我采取一些技巧来安装正确的 dll。 如果我让他们从 MS 下载 MS 安装程序,而他们的硬件(CPU 类型)与我的不匹配,那么他们可能会遇到问题。 wxpython 用户组网站上有一组非常好的说明。 WX 讨论。
From what I have gathered and learned the correct answer is that I have to worry about the MSCVCR90 dll that is used in the version of Python and mx that the application I am building rely on. This is important because it means that if the user has a different configuration I can't easily fix that problem unless I do some tricks to install the correct dll. If I have them download the MS installer from MS and their hardware (CPU type) does not match mine then they will potentially run into problems. There is a really good set of instructions on the wxpython users group site. WX Discussion.
我相信 Vista 64 位有一个 32 位模拟器,所以你不需要担心这个。
然而,我只是告诉他们安装 msvcrt 运行时,这应该是处理这个 sxs 混乱的正确方法。
Vista 64bit has a 32 bit emulator I believe, so you will not need to worry about this.
However, I would just tell them to install the msvcrt runtime which is supposed to be the correct way to deal with this sxs mess.