栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 面试经验 > 面试问答

适用于Python 3.4的Microsoft Visual C ++编译器

面试问答 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

适用于Python 3.4的Microsoft Visual C ++编译器

不幸的是,要能够使用其他人提供的扩展模块,您将不得不使用正式的编译器来编译Python。这些是:

  • 适用于Python 2.7的Visual Studio 2008。请参阅:https://docs.python.org/2.7/using/windows.html#compiling-python-on-windows

  • 适用于Python 3.4的Visual Studio 2010。请参阅:https://docs.python.org/3.4/using/windows.html#compiling-python-on-windows

另外,您可以使用MinGw以不依赖其他方式的方式编译扩展。

请参阅:https://docs.python.org/2/install/#gnu-c-cygwin-
MinGW
或https://docs.python.org/3.4/install/#gnu-c-cygwin-
mingw

这样,您就可以使用一个编译器来为Python,Python 2.x和Python 3.x的两个版本构建扩展。



转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/668958.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号