Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Python interface availability

Date2006-03-10 19:28
FromVictor Lazzarini
SubjectRe: [Cs-dev] Python interface availability
I have to look into this. It seems that there is a library
mismatch
somewhere. I will check on my 10.2 machine.

Victor

>
> I am still trying to get a complete picture of python
> interface availability in the different release packages.
> Here is what I have now:
>
> A.  Does it include the Python interface (_csnd library
> and csnd.py)? B.  Does it install them somewhere in the
> Lib directory of the Python distro?
> C.  Does the user have to set PYTHONPATH or do any other
> configuration to make it work?
>
> Package                         included?   in Lib?
> configured?
> ----------------------------------------------------------
> ---------- Csound5.00_OS9.smi.bin              no*
> no          yes* Csound5.00_OSX10.2.tar.gz           yes#
>       yes         yes Csound5.00_OSX10.3.tar.gz
> yes         yes         yes Csound5.00_OSX10.4.tar.gz
>      yes         yes         yes Csound5.00_win32.exe
>           yes         no+         no
> Csound5.00_win32.i686.zip           yes         no
>  no Csound5.00_i686.rpm                 yes?        ?
>      ? Csound5.00_i386f.tar.gz             yes         ?
>         ? Csound5.00_x86_64d.tar.gz           yes
> ?           ? Csound5.00_x86_64f.tar.gz           yes
>    ?           ? Csound5.00_x86_64.rpm               yes?
>       ?           ?
>
>
> To Michael:  Regarding the Windows installer, does the
> installer set PYTHONPATH so that the csnd module is found
> in the bin directory that it is installed to?
>
> To Istvan:  Am I correct that there is not an installer in
> the Windows zip package?  Do your RPM packages include the
> Python interface and install them into the Python Lib
> directory?
>
> To John ff:  Where does your installer put the csnd.py and
> _csnd.so files?
>
> To Victor:  Thanks very much for updating the 10.2
> package.  It now installs the csnd python module into the
> correct place on my system.  However, when I try to import
> it, I get the following error messages:
>
> [fiona:lib/python2.3/site-packages] anthony% python
> Python 2.3.5 (#1, Feb 10 2005, 16:29:16)
> [GCC 3.1 20020420 (prerelease)] on darwin
> Type "help", "copyright", "credits" or "license" for more
> information. >>> import csnd
> Traceback (most recent call last):
>   File "", line 1, in ?
>   File
> "/Library/Frameworks/Python.framework/Versions/2.3/lib/pyt
> hon2.3/csnd.py", line 4, in ?
>     import _csnd
> ImportError: Failure linking new module: : dyld: python
> Undefined symbols:
> /Library/Frameworks/Python.framework/Versions/2.3/lib/pyth
> on2.3/_csnd.so undefined reference to _btowc expected to
> be defined in /usr/lib/libSystem.B.dylib
> /Library/Frameworks/Python.framework/Versions/2.3/lib/pyth
> on2.3/_csnd.so undefined reference to _iswctype expected
> to be defined in /usr/lib/libSystem.B.dylib
> /Library/Frameworks/Python.framework/Versions/2.3/lib/pyth
> on2.3/_csnd.so undefined reference to _mbsrtowcs expected
> to be defined in /
>
> (This is with the most recent 5.00 package for 10.2).
>
>
> Thanks very much!
>
> Anthony
>
> Michael Gogins wrote on 2/3/06 5:07 PM:
>
> > On Windows with the Windows installer, the csnd module
> > ends up in the installation bin directory.
>
> > Nothing is installed in the Python directories, because
> > then were would be multiple copies of the shared
> > libraries, since the regular CsoundVST program uses some
> of them also.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking
> scripting language that extends applications into web and
> mobile media. Attend the live webcast and join the prime
> developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net