Closed
Description
Environment
- Pythonnet version:2.3.0
- Python version:3.6.3
- Operating System:Win 10
Details
Hi,
- When I try to use the Chinese namespace in C#,Pythonnet will prompt memory corruption.
using System;
using Python.Runtime;
namespace 中文测试
{
public class 中文
{
static void Main(string[] args)
{
using (Py.GIL())
{
dynamic sys = Py.Import("sys");
Console.WriteLine(sys.verison);
Console.ReadKey();
}
}
}
}
- The visual studio then prompts the following error.
- How should I solve this problem in the Chinese namespace?
THANK YOU SO MUCH!
Metadata
Metadata
Assignees
Labels
No labels