Hello,
I am embedding python inside a C++ program. For some reason (I think libxml2),
I am getting Segmentation fault at PyThread_release_lock.
The solution I found online was to configure python with --disable-thread.
I used "apt-get install python-dev" to install python.
How do I re-config
I have embedded Python in a shared library. This works fine in Windows (dll),
but I get the following error is Ubuntu when I try to load modules:
/usr/lib/python2.5/lib-dynload/time.so: error: symbol lookup
error: undefined symbol: PyExc_ValueError
I found many postings on this issue on the int
I have embedded Python in a shared library. This works fine in Windows
(dll), but I get the following error is Ubuntu when I try to load modules:
/usr/lib/python2.5/lib-dynload/*time.so*: error: symbol lookup error: *
undefined* symbol: PyExc_ValueError
I found many postings on this issue on the
I have a program with embedded Python. If the python code has print
statements, how do I retrieve those values (which normally go to stdout)?
The output from Py_RunString is just NULL
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
I sort of guessed that was the issue -- doing Py_Initialize/Py_Finalize more
than once. Thanks for the help.
On Sun, Feb 1, 2009 at 12:43 AM, Gabriel Genellina
wrote:
> En Sun, 01 Feb 2009 03:47:27 -0200, Deepak Chandran <
> dchandr...@tinkercell.com> escribió:
>
> I have a
I have a program in which I have successfully embedded Python. Now, I want
to include NumPy as well (and other modules). I am able to import numpy
once. Then I close the python console in my program and then re-open it.
When I try to import numpy for a second time, the program crashes. Below is
a s