Thank you for your reply. I'll have a look.
I managed to get around the problem by simply changing below line of code

pName = PyBytes_FromString("sympy");


to

pModuleName = PyUnicode_FromString("sympy.combinatorics");



On Thursday, January 25, 2018 at 3:26:24 PM UTC+3:30, Kasper Peeters wrote:
>
> I know you didn't ask for this, but I can strongly recommend using 
> pybind11 (https://github.com/pybind/pybind11) if you want nice C++ 
> bindings for Python. It shields you from a lot of low-level details.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/1186c3b8-8c73-49d0-8fe1-66c53699b8f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to