关于python调用c++时 c++层初始化python环境的问题

14 views
Skip to first unread message

dan wu

unread,
May 28, 2021, 3:25:15 AM5/28/21
to python-cn-free(中文python邮件列表)
测试代码在https://github.com/woodenwatcher/pythonenv,在python3.6.10中会报“Fatal Python error: take_gil: NULL”的错误,但是在python3.7.10中能通过,请各位高人指点迷津。另外,python调用c++是通过boost.python库完成,版本是1.66
Reply all
Reply to author
Forward
0 new messages