Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] python csnd on osx

Date2009-02-23 14:32
Fromvictor
SubjectRe: [Cs-dev] python csnd on osx
Well, I just installed it here and it works for me (10.4). Check
that csnd.py is in

/Library/Frameworks/Python.framework/versions/2.5/lib/Python2.5


Victor
----- Original Message ----- 
From: "Oeyvind Brandtsegg" 
To: "Developer discussions" 
Sent: Monday, February 23, 2009 1:43 PM
Subject: Re: [Cs-dev] python csnd on osx


> Intel
>
>
> 2009/2/23 victor :
>> Intel or PPC?
>> ----- Original Message -----
>> From: "Oeyvind Brandtsegg" 
>> To: "Developer discussions" 
>> Sent: Monday, February 23, 2009 11:54 AM
>> Subject: [Cs-dev] python csnd on osx
>>
>>
>>> Hello
>>>
>>> I was trying to run some Python/Csound applications on a
>>> lab(univeersity) computer today and I got the error
>>> import csnd
>>> no module named csnd
>>>
>>> This is on OSX with Python2.5, Csound 5.10 floats.
>>> Is there a known problem ?
>>> I'm not the one responsible for installing things on these computers,
>>> so I'm not sure how to proceed, but wanted to check if this is a known
>>> issue before I try to track down the error..
>>>
>>> best
>>> Oeyvind
>>>
>>> ------------------------------------------------------------------------------
>>> Open Source Business Conference (OSBC), March 24-25, 2009, San 
>>> Francisco,
>>> CA
>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>> Enterprise
>>> -Strategies to boost innovation and cut costs with open source
>>> participation
>>> -Receive a $600 discount off the registration fee with the source code:
>>> SFAD
>>> http://p.sf.net/sfu/XcvMzF8H
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, 
>> CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the 
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source 
>> participation
>> -Receive a $600 discount off the registration fee with the source code: 
>> SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, 
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the 
> Enterprise
> -Strategies to boost innovation and cut costs with open source 
> participation
> -Receive a $600 discount off the registration fee with the source code: 
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-02-23 14:53
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] python csnd on osx
Thanks for looking into this so quickly.

Yes, I have /Library/Frameworks/Python.framework/versions/2.5/lib/Python2.5/csnd.py

I checked with a student's laptop as well, to have something to compare with.
He has Csound 5.08 and the same thing happens for him,
so this is not new in 5.10 at least.

On the student laptop he has OSX 10.5.6
on the lab computer we have OSX 10.5.4
maybe it is a osx 10.5 issue ?

Is there anything I could do to make sure
/Library/Frameworks/Python.framework/versions/2.5/lib/Python2.5/ is in
the search path ?
I know it should be, but it seems it's not (?)

best
Oeyvind
2009/2/23 victor :
> Well, I just installed it here and it works for me (10.4). Check
> that csnd.py is in
>
> /Library/Frameworks/Python.framework/versions/2.5/lib/Python2.5
>
>
> Victor
> ----- Original Message -----
> From: "Oeyvind Brandtsegg" 
> To: "Developer discussions" 
> Sent: Monday, February 23, 2009 1:43 PM
> Subject: Re: [Cs-dev] python csnd on osx
>
>
>> Intel
>>
>>
>> 2009/2/23 victor :
>>> Intel or PPC?
>>> ----- Original Message -----
>>> From: "Oeyvind Brandtsegg" 
>>> To: "Developer discussions" 
>>> Sent: Monday, February 23, 2009 11:54 AM
>>> Subject: [Cs-dev] python csnd on osx
>>>
>>>
>>>> Hello
>>>>
>>>> I was trying to run some Python/Csound applications on a
>>>> lab(univeersity) computer today and I got the error
>>>> import csnd
>>>> no module named csnd
>>>>
>>>> This is on OSX with Python2.5, Csound 5.10 floats.
>>>> Is there a known problem ?
>>>> I'm not the one responsible for installing things on these computers,
>>>> so I'm not sure how to proceed, but wanted to check if this is a known
>>>> issue before I try to track down the error..
>>>>
>>>> best
>>>> Oeyvind
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Open Source Business Conference (OSBC), March 24-25, 2009, San
>>>> Francisco,
>>>> CA
>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>>> Enterprise
>>>> -Strategies to boost innovation and cut costs with open source
>>>> participation
>>>> -Receive a $600 discount off the registration fee with the source code:
>>>> SFAD
>>>> http://p.sf.net/sfu/XcvMzF8H
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>>> CA
>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>> Enterprise
>>> -Strategies to boost innovation and cut costs with open source
>>> participation
>>> -Receive a $600 discount off the registration fee with the source code:
>>> SFAD
>>> http://p.sf.net/sfu/XcvMzF8H
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>> CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source
>> participation
>> -Receive a $600 discount off the registration fee with the source code:
>> SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-02-23 14:59
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] python csnd on osx
I tried just copying the csnd.py file into my working directory, and
get one step further:
   import lib_csnd
ImportError: No module named lib_csnd

This might be obvious, but thought I'd mention it if it helps.

Then I tried copying
/Library/Frameworks/CsoundLib.framework/Versions/5.2/lib_csnd.dylib
into the working directory, but no change.

... just shooting in the dark

Oeyvind


2009/2/23 Oeyvind Brandtsegg :
> Thanks for looking into this so quickly.
>
> Yes, I have /Library/Frameworks/Python.framework/versions/2.5/lib/Python2.5/csnd.py
>
> I checked with a student's laptop as well, to have something to compare with.
> He has Csound 5.08 and the same thing happens for him,
> so this is not new in 5.10 at least.
>
> On the student laptop he has OSX 10.5.6
> on the lab computer we have OSX 10.5.4
> maybe it is a osx 10.5 issue ?
>
> Is there anything I could do to make sure
> /Library/Frameworks/Python.framework/versions/2.5/lib/Python2.5/ is in
> the search path ?
> I know it should be, but it seems it's not (?)
>
> best
> Oeyvind
> 2009/2/23 victor :
>> Well, I just installed it here and it works for me (10.4). Check
>> that csnd.py is in
>>
>> /Library/Frameworks/Python.framework/versions/2.5/lib/Python2.5
>>
>>
>> Victor
>> ----- Original Message -----
>> From: "Oeyvind Brandtsegg" 
>> To: "Developer discussions" 
>> Sent: Monday, February 23, 2009 1:43 PM
>> Subject: Re: [Cs-dev] python csnd on osx
>>
>>
>>> Intel
>>>
>>>
>>> 2009/2/23 victor :
>>>> Intel or PPC?
>>>> ----- Original Message -----
>>>> From: "Oeyvind Brandtsegg" 
>>>> To: "Developer discussions" 
>>>> Sent: Monday, February 23, 2009 11:54 AM
>>>> Subject: [Cs-dev] python csnd on osx
>>>>
>>>>
>>>>> Hello
>>>>>
>>>>> I was trying to run some Python/Csound applications on a
>>>>> lab(univeersity) computer today and I got the error
>>>>> import csnd
>>>>> no module named csnd
>>>>>
>>>>> This is on OSX with Python2.5, Csound 5.10 floats.
>>>>> Is there a known problem ?
>>>>> I'm not the one responsible for installing things on these computers,
>>>>> so I'm not sure how to proceed, but wanted to check if this is a known
>>>>> issue before I try to track down the error..
>>>>>
>>>>> best
>>>>> Oeyvind
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Open Source Business Conference (OSBC), March 24-25, 2009, San
>>>>> Francisco,
>>>>> CA
>>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>>>> Enterprise
>>>>> -Strategies to boost innovation and cut costs with open source
>>>>> participation
>>>>> -Receive a $600 discount off the registration fee with the source code:
>>>>> SFAD
>>>>> http://p.sf.net/sfu/XcvMzF8H
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>>>> CA
>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>>> Enterprise
>>>> -Strategies to boost innovation and cut costs with open source
>>>> participation
>>>> -Receive a $600 discount off the registration fee with the source code:
>>>> SFAD
>>>> http://p.sf.net/sfu/XcvMzF8H
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>>> CA
>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>> Enterprise
>>> -Strategies to boost innovation and cut costs with open source
>>> participation
>>> -Receive a $600 discount off the registration fee with the source code:
>>> SFAD
>>> http://p.sf.net/sfu/XcvMzF8H
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-02-23 15:31
FromOlivier BĂ©langer
SubjectRe: [Cs-dev] python csnd on osx
AttachmentsNone  None  
On similar systems (OS 10.4 -> 10.5 with python 2.3 -> 2.5) I always had to copy csnd.py AND _csnd.so into the working directory to make things work...

Olivier
 

2009/2/23 Oeyvind Brandtsegg <obrandts@gmail.com>
I tried just copying the csnd.py file into my working directory, and
get one step further:
  import lib_csnd
ImportError: No module named lib_csnd

This might be obvious, but thought I'd mention it if it helps.

Then I tried copying
/Library/Frameworks/CsoundLib.framework/Versions/5.2/lib_csnd.dylib
into the working directory, but no change.

... just shooting in the dark

Oeyvind


2009/2/23 Oeyvind Brandtsegg <obrandts@gmail.com>:
> Thanks for looking into this so quickly.
>
> Yes, I have /Library/Frameworks/Python.framework/versions/2.5/lib/Python2.5/csnd.py
>
> I checked with a student's laptop as well, to have something to compare with.
> He has Csound 5.08 and the same thing happens for him,
> so this is not new in 5.10 at least.
>
> On the student laptop he has OSX 10.5.6
> on the lab computer we have OSX 10.5.4
> maybe it is a osx 10.5 issue ?
>
> Is there anything I could do to make sure
> /Library/Frameworks/Python.framework/versions/2.5/lib/Python2.5/ is in
> the search path ?
> I know it should be, but it seems it's not (?)
>
> best
> Oeyvind
> 2009/2/23 victor <Victor.Lazzarini@nuim.ie>:
>> Well, I just installed it here and it works for me (10.4). Check
>> that csnd.py is in
>>
>> /Library/Frameworks/Python.framework/versions/2.5/lib/Python2.5
>>
>>
>> Victor
>> ----- Original Message -----
>> From: "Oeyvind Brandtsegg" <obrandts@gmail.com>
>> To: "Developer discussions" <csound-devel@lists.sourceforge.net>
>> Sent: Monday, February 23, 2009 1:43 PM
>> Subject: Re: [Cs-dev] python csnd on osx
>>
>>
>>> Intel
>>>
>>>
>>> 2009/2/23 victor <Victor.Lazzarini@nuim.ie>:
>>>> Intel or PPC?
>>>> ----- Original Message -----
>>>> From: "Oeyvind Brandtsegg" <obrandts@gmail.com>
>>>> To: "Developer discussions" <csound-devel@lists.sourceforge.net>
>>>> Sent: Monday, February 23, 2009 11:54 AM
>>>> Subject: [Cs-dev] python csnd on osx
>>>>
>>>>
>>>>> Hello
>>>>>
>>>>> I was trying to run some Python/Csound applications on a
>>>>> lab(univeersity) computer today and I got the error
>>>>> import csnd
>>>>> no module named csnd
>>>>>
>>>>> This is on OSX with Python2.5, Csound 5.10 floats.
>>>>> Is there a known problem ?
>>>>> I'm not the one responsible for installing things on these computers,
>>>>> so I'm not sure how to proceed, but wanted to check if this is a known
>>>>> issue before I try to track down the error..
>>>>>
>>>>> best
>>>>> Oeyvind
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Open Source Business Conference (OSBC), March 24-25, 2009, San
>>>>> Francisco,
>>>>> CA
>>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>>>> Enterprise
>>>>> -Strategies to boost innovation and cut costs with open source
>>>>> participation
>>>>> -Receive a $600 discount off the registration fee with the source code:
>>>>> SFAD
>>>>> http://p.sf.net/sfu/XcvMzF8H
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>>>> CA
>>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>>> Enterprise
>>>> -Strategies to boost innovation and cut costs with open source
>>>> participation
>>>> -Receive a $600 discount off the registration fee with the source code:
>>>> SFAD
>>>> http://p.sf.net/sfu/XcvMzF8H
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>>> CA
>>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>>> Enterprise
>>> -Strategies to boost innovation and cut costs with open source
>>> participation
>>> -Receive a $600 discount off the registration fee with the source code:
>>> SFAD
>>> http://p.sf.net/sfu/XcvMzF8H
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel