Compile C Extension of Python on Windows


Headnotes

Many equations and formulas look intimidating. However, when you hunt them down, they are definitely not! Just papertigers!

Now let's hunt the papertiger.

Unable to find vcvarsall.bat

I installed Visual C++ 2017 and the error get eliminated

c:\miniconda3\include\pyconfig.h(59): fatal error C1083: Cannot open include file: ‘io.h’: No such file or directory

Installing Windows 10 SDK can solve this problem. But I have’t tried.


Footnotes

There are many excellent tutorials out there. Some tutorials are too intuitive and it's helpful, but you cannot get it straight on the math details. Some focused on dymestifying math. Some focused on code. I found the best tutorials that give you the conceptual ideas and are possible for implementation without being blind to the math details. Drop a comment if I failed. It would be really appreciable.


If you want to cite this article, please cite this article as:

Lachlan Chen, "Compile C Extension of Python on Windows," in EarnFromScratch, 四月 23, 2019, https://www.earnfs.com/zh/html/1900.htm.

or

@misc{lachlanchen2020tutorial,
title=Compile C Extension of Python on Windows,
author={Chen, Lachlan},
year=四月 23, 2019
}


EarnFromScratch (九月 30, 2020) Compile C Extension of Python on Windows. Retrieved from https://www.earnfs.com/zh/html/1900.htm.
"Compile C Extension of Python on Windows." EarnFromScratch - 九月 30, 2020, https://www.earnfs.com/zh/html/1900.htm
EarnFromScratch 四月 23, 2019 Compile C Extension of Python on Windows., viewed 九月 30, 2020,<https://www.earnfs.com/zh/html/1900.htm>
EarnFromScratch - Compile C Extension of Python on Windows. [Internet]. [Accessed 九月 30, 2020]. Available from: https://www.earnfs.com/zh/html/1900.htm
"Compile C Extension of Python on Windows." EarnFromScratch - Accessed 九月 30, 2020. https://www.earnfs.com/zh/html/1900.htm
"Compile C Extension of Python on Windows." EarnFromScratch [Online]. Available: https://www.earnfs.com/zh/html/1900.htm. [Accessed: 九月 30, 2020]


发表评论