在visualstudi中为Python3.4使用Python for.NET

2024-09-30 03:23:55 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试使用Python在c项目中嵌入Python代码。我在Windows环境下使用visualstudio。在

我确实在cmd中通过pip install pythonnet安装了Python for.NET。回购中的这3个演示没有问题。然后我使用winform项目调用PythonEngine.Initialize();。它引发了一个例外

'Unable to load DLL'python35':The specified module could not be found.

我确实遵循了http://pythonnet.github.io/上的指南,但仍然不起作用。在

任何建议都将不胜感激。谢谢您!在


Tags: installpip项目代码cmdfornet环境

热门问题