Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
将 python 嵌入到 C++ 应用程序中时,使用
#include "python2.6/Python.h"
并链接 -lpython2.6
目标计算机(运行最终编译程序的计算机)是否需要安装 python 才能使用我的应用程序?
谢谢
这取决于。您是静态链接库还是动态链接库?如果您动态链接,那么是的,您的目标计算机需要安装 Python。