Csound Csound-dev Csound-tekno Search About

csnd module (?)

Date2006-06-01 22:11
Fromsal g sofia
Subjectcsnd module (?)
Hello all,

I am trying to run python, (I do have Python installed) and
I am getting the following error:
Thank you for helping

Regards,
-Sal

Mac OS X Version 10.4.6 
Python 2.4.1 (#2, Mar 31 2005, 00:05:10)

-------------------------------
File "Trapped.py", line 5, in ?
     import csnd
ImportError: No module named csnd
=================================

Date2006-06-02 01:35
FromCesare Marilungo
SubjectRe: csnd module (?)
sal g sofia wrote:

>
> Hello all,
>
> I am trying to run python, (I do have Python installed) and
> I am getting the following error:
> Thank you for helping
>
> Regards,
> -Sal
>
> Mac OS X Version 10.4.6 Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
>
> -------------------------------
> File "Trapped.py", line 5, in ?
>     import csnd
> ImportError: No module named csnd
> =================================

Python isn't finding the csnd module.

As root, you have to put the files  'lib_csnd.so' and 'csnd.py' in your 
site-packages dir (eg. /usr/lib/python2.4/site-packages/). Then make 
from there a symbolic link to the csnd.py called _csnd.py:

ln -s csnd.py _csnd.py

then type:

ldconfig

Cheers,

c.
-- 
www.cesaremarilungo.com

Date2006-06-02 02:08
Fromsal g sofia
SubjectRe: csnd module (?)
Cesare, thank you!

But I am not on a "Linux" or Window machine, I think that those files are 
not for a "Mac os x" version.

Regards,

-Sal

On Fri, 2 Jun 2006, Cesare Marilungo wrote:

> Python isn't finding the csnd module.
>
> As root, you have to put the files  'lib_csnd.so' and 'csnd.py' in your
> site-packages dir (eg. /usr/lib/python2.4/site-packages/). Then make 
> from there a symbolic link to the csnd.py called _csnd.py:
>
> ln -s csnd.py _csnd.py
>
> then type:
>
> ldconfig
>
> Cheers,
>
> c.
> --
> www.cesaremarilungo.com
>
>
>
> sal g sofia wrote:
>
>> 
>> Hello all,
>> 
>> I am trying to run python, (I do have Python installed) and
>> I am getting the following error:
>> Thank you for helping
>> 
>> Regards,
>> -Sal
>> 
>> Mac OS X Version 10.4.6 Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
>> 
>> -------------------------------
>> File "Trapped.py", line 5, in ?
>>     import csnd
>> ImportError: No module named csnd
>> =================================
>
> Python isn't finding the csnd module.
>
> As root, you have to put the files  'lib_csnd.so' and 'csnd.py' in your 
> site-packages dir (eg. /usr/lib/python2.4/site-packages/). Then make from 
> there a symbolic link to the csnd.py called _csnd.py:
>
> ln -s csnd.py _csnd.py
>
> then type:
>
> ldconfig
>
> Cheers,
>
> c.
> -- 
> www.cesaremarilungo.com
>
> -- 
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>