<p>在您的情况下,<a href="https://github.com/pythonnet/pythonnet" rel="nofollow noreferrer">Python for .Net (pythonnet)</a>可能是IronPython的合理替代方案。
<a href="https://github.com/pythonnet/pythonnet/blob/master/README.rst" rel="nofollow noreferrer">https://github.com/pythonnet/pythonnet/blob/master/README.rst</a></p>
<p>从站点:</p>
<blockquote>
<p>Note that this package does not implement Python as a first-class CLR
language - it does not produce managed code (IL) from Python code.
Rather, it is an integration of the CPython engine with the .NET
runtime. This approach allows you to use use CLR services and continue
to use existing Python code and C-based extensions while maintaining
native execution speeds for Python code.</p>
</blockquote>
<p>同时</p>
<blockquote>
<p>Python for .NET uses the PYTHONPATH (sys.path) to look for assemblies
to load, in addition to the usual application base and the GAC. To
ensure that you can implicitly import an assembly, put the directory
containing the assembly in sys.path.</p>
</blockquote>
<p>这个包仍然要求您的计算机上有一个本地的CPython运行时。
有关详细信息,请参阅完整的自述文件<a href="http://pythonnet.github.io/readme.html" rel="nofollow noreferrer">http://pythonnet.github.io/readme.html</a></p>