什么版本的Visual Studio和/或MinGW的我需要构建扩展模块为Python的一个给定的版本? [英] What version of Visual Studio and/or MinGW do I need to build extension modules for a given version of Python?

查看:145
本文介绍了什么版本的Visual Studio和/或MinGW的我需要构建扩展模块为Python的一个给定的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要提出这个问题以不同的方式,有什么版本的Visual C ++的从 python.org 的Python是Python中的每一正式构建与建造,什么版本的MinGW是用Visual C的那些版本兼容++?

To put this question a different way, what version of Visual C++ was each official build of Python from python.org of Python built with, and what versions of MinGW are compatible with those versions of Visual C++?

这是信息随时可用的一些网站?

Is this information readily available on some web site?

推荐答案

Python的2.6,2.7,3.1和3.2都编译VS 2008的Python 3.3和3.4编译VS 2010中。

Python 2.6, 2.7, 3.1, and 3.2 were all compiled with VS 2008. Python 3.3 and 3.4 are compiled with VS 2010.

我不知道MinGW的兼容性。

I'm not sure about MinGW compatibility.

如果您正在寻找的命令行编译器,微软发布了两个不同的软件开发工具包的Windows 7,包括命令行编译器。第一个SDK(用于.NET 3.5)包含了VS 2008编译器。第二SDK(用于.NET 4.0)包含了VS 2010编译器。

If you are looking for command line compilers, Microsoft has released two different SDKs for Windows 7 that include the command line compilers. The first SDK (for .NET 3.5) includes the VS 2008 compilers. The second SDK (for .NET 4.0) includes the VS 2010 compilers.

更新:在Python的各个版本的源代码发布文件 PCbuild \\ readme.txt文件包括用于使二进制文件的Visual Studio版本

Update: The file PCbuild\readme.txt in the source distribution of each version of Python includes the version of Visual Studio used to make the binaries.

这篇关于什么版本的Visual Studio和/或MinGW的我需要构建扩展模块为Python的一个给定的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆