我正在关注如何使用 C\C++ 代码扩展 Python 的本教程。
名为“使用 GCC for Microsoft Windows 构建扩展模块”的部分对我来说失败,并出现以下错误:
fatal error: Python.h: No such file or directory
名为“使用 Microsoft Visual C++ 构建扩展模块”的部分也失败并出现类似错误:
fatal error C1083: Cannot open include file: 'Python.h': No such file or directory
我应该怎么做才能解决这个问题?