search for: py_initialize

Displaying 11 results from an estimated 11 matches for "py_initialize".

2002 Sep 01
5
IceS: compile problem with Python
...3]# ./configure --with-lame --with-python=/usr/bin --with-python-includes=/usr/include/python2.2 --with-python-libraries=/usr/lib/python2.2 ==================================== Configure script tell me: ==================================== <....> checking for Python.h... yes checking for Py_Initialize in -lpython... no checking for Py_Initialize in -lpython2.2... no checking for Py_Initialize in -lpython2.1... no checking for Py_Initialize in -lpython2.0... no checking for Py_Initialize in -lpython1.6... no checking for Py_Initialize in -lpython1.5... no configure: error: Could not find the pyth...
2004 Aug 06
0
ices 0.2.2 compile problems Py_Initialize and cannot find -lz
Hi I'm having this same problem 'configure won't find Py_Initialize' I was hoping somebody could enlighten me as to exactly what I have to add to which file and when, while I'm configure'ing. On Tue, 4 Sep 2001, Ben Wilson wrote: > > First off, I managed to build iceS 0.2.2 with Python 2.1, though I had to > add -lutil to the $LIBS definition...
2004 Aug 06
1
IceS: compile problem with Python
...ine; with --with-python-libraries= /usr/lib; --with-python=/usr; --with-python=/usr/bin; --with-python; etc with Python 1.5; Python 2.2. The result is the same: > > ==================================== > > <....> > > checking for Python.h... yes > > checking for Py_Initialize in -lpython... no > > checking for Py_Initialize in -lpython2.2... no > > checking for Py_Initialize in -lpython2.1... no > > checking for Py_Initialize in -lpython2.0... no > > checking for Py_Initialize in -lpython1.6... no > > checking for Py_Initialize in -lpython1...
2004 Aug 06
1
ices 0.2.2 compile problems Py_Initialize and cannot find -lz
...the 'for lib in python python2.0 python1.6, etc, you may want to add python2.1 (if you have 2.1 installed, else it may have trouble finding the python libraries) On 09 Sep 2001 16:06:06 -0400, harvey smith wrote: > Hi > > I'm having this same problem 'configure won't find Py_Initialize' I > was hoping somebody could enlighten me as to exactly what I have to > add to which file and when, while I'm configure'ing. > > On Tue, 4 Sep 2001, Ben Wilson wrote: > > > > > First off, I managed to build iceS 0.2.2 with Python 2.1, though I had to >...
2004 Aug 06
2
Two Things: Python 2.1 & ices 0.2.2 / Multiple Streams
First off, I managed to build iceS 0.2.2 with Python 2.1, though I had to add -lutil to the $LIBS definition whilst ./configure'ing. Otherwise, configure won't find Py_Initialize Secondly - multiple streams I've added a second "stream" definition to my ices.conf, and both streams show up as sources for icecast, (http://blah.com:8000/list.cgi), though when i try to connect to either of them using their mountpoint names (in my case /hi and /lo) i always am con...
2009 Oct 26
1
API question (embedding R)
...make this more straightforward, i need a way to directly access the R interpreter just like i can already access the python interpreter. Using the python interpreter from pascal is a child's play, you really only need to import a handful of functions from the dll and nothing else, you just call Py_Initialize() and then you can call PyRun_SimpleString() as often as you want and thats basically all! No need to convert the whole C header file to pascal, it all fits more or less into 5 lines of pascal declarations. I couldn't find an easy documentation of how i could achieve the same thing with R: loa...
2017 Jan 26
0
[nbdkit PATCH v2 5/6] python: Expose nbdkit_set_error to python script
...= { + { "set_error", set_error, METH_VARARGS, + "Store an errno value prior to throwing an exception" }, + { NULL } +}; + /* Is a callback defined? */ static int callback_defined (const char *name, PyObject **obj_rtn) @@ -91,6 +108,7 @@ static void py_load (void) { Py_Initialize (); + Py_InitModule("nbdkit", NbdkitMethods); } static void -- 2.9.3
2017 Jan 26
10
[nbdkit PATCH v2 0/6] bind .zero to Python
Fix some things I noticed while reviewing v1, and follow Rich's idea to add a new nbdkit_set_error() utility function with a binding for Python users to request a particular error (rather than being forced to live with whatever stale value is in errno after all the intermediate binding glue code). I could not easily find out how to register a C function callable from perl bindings, and have
2004 Aug 06
1
ices 0.3 on FreeBSD
I have successfully compiled Ices 0.3 on FreeBSD (4.7 and 4.9). You need to make sure that ALL the dependicies are installed (some depend on others) and when compiling them, that they compile with no problems. <p>Include some output of what errors you are getting and I #should# be able to help you on your way. <p>>From: "dave" <dmehler26@woh.rr.com>
2020 Aug 05
5
[PATCH nbdkit 3/4] python: Allow thread model to be set from Python plugins.
This is working for me now, although possibly only on Python 3.9. Dan suggested PyEval_InitThreads but that was deprecated in Python 3.7. Rich.
2017 Jan 27
6
[nbdkit PATCH v3 0/4] bind .zero to Python
This cleans up the existing code base with regards to implicit use of errno from language bindings, then rebases the previous work in python on top of that. I'm still playing with the perl bindings, but got further after reading 'perldoc perlembed'. Eric Blake (4): plugins: Don't use bogus errno from non-C plugins plugins: Add new nbdkit_set_error() utility function python: