1.python3.8.4解压后进入build_c目录

2.运行build.bat ,会首先下载依赖的库文件。然后调用VC的build工具编译C代码。

3.编译结果如下图

加入一些调试信息后,运行及结果如下:

更多的信息请参考:

https://devguide.python.org/setup/
https://cpython-core-tutorial.readthedocs.io/en/latest/build_cpython_windows.html

 

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐