[docs] undefined symbol: PyExc_SystemError

Liu Yvonne yvonneliu1107 at outlook.com
Wed Jan 10 04:34:56 EST 2018


Hi,


I am trying to embed python into c++ and then embed c++ into nodejs, one error is gotten when run node to call python, I spent a lot of time to figure it out, but failed, so I would like to seek help from you.


error message when run draw.js is shown as the screenshot of 'runError.jpg'

python configure is shown as 'pythonConfigure.jpg'

system is ubuntu16.04

js calling python is:

var draw = require('./build/Release/draw.node');
console.log(draw.draw('yv_po'));



Please let me know if more information is needed or there is mistakes made.


Looking forward to your reply.



Thanks


Best regards

Yvonne




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20180110/7f7edb08/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pythonConfigure.JPG
Type: image/jpeg
Size: 94306 bytes
Desc: pythonConfigure.JPG
URL: <http://mail.python.org/pipermail/docs/attachments/20180110/7f7edb08/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: runError.JPG
Type: image/jpeg
Size: 97188 bytes
Desc: runError.JPG
URL: <http://mail.python.org/pipermail/docs/attachments/20180110/7f7edb08/attachment-0003.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binding.gyp
Type: application/octet-stream
Size: 735 bytes
Desc: binding.gyp
URL: <http://mail.python.org/pipermail/docs/attachments/20180110/7f7edb08/attachment-0002.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: draw.cc
URL: <http://mail.python.org/pipermail/docs/attachments/20180110/7f7edb08/attachment-0004.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: draw.cpp
URL: <http://mail.python.org/pipermail/docs/attachments/20180110/7f7edb08/attachment-0005.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: draw.h
URL: <http://mail.python.org/pipermail/docs/attachments/20180110/7f7edb08/attachment-0001.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 1216 bytes
Desc: Makefile
URL: <http://mail.python.org/pipermail/docs/attachments/20180110/7f7edb08/attachment-0003.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pie.py
URL: <http://mail.python.org/pipermail/docs/attachments/20180110/7f7edb08/attachment-0006.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sql_query.py
URL: <http://mail.python.org/pipermail/docs/attachments/20180110/7f7edb08/attachment-0007.ksh>


More information about the docs mailing list