Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] python csnd on osx

Date2009-02-23 18:51
Fromvictor
SubjectRe: [Cs-dev] python csnd on osx
Because Apple only supplies 2.3 on 10.4; I actually build and
include the module for 2.3 in the installer. I am sure Anthony's
build uses apple python.

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


> Would it maybe be simplest to just copy csnd.py and _csnd.so into the
> working directory, to have a workaround while waiting for a Csound
> version build for OSX 10.5?
> Is there any (other) reasons for using MacPython instead of the Apple
> supplied framework (which is standard python I suppose)?
> Is the next Csound build expected to use the standard apple-supplied 
> python?
>
> I'm doing lab work with a groups of students tomorrow, and the "copy
> solution" is something I could ask them to do,
> rather than (me) re-installing Python and Csound on the whole lab.
>
> best
> Oeyvind
>
> 2009/2/23 victor :
>> This is because the package was built for OSX 10.4, which installs and
>> links to MacPython 2.5. If you don't have that installed it won't work.
>> If you do, make sure you are using it instead of the apple-supplied
>> Python2.5
>>
>> One solution is to install MacPython 2.5 and then re-install Csound. The
>> MacPython installation should redirect the python command to use it
>> instead of the apple supplied framework.
>>
>> Victor
>>
>> ----- Original Message -----
>> From: "Oeyvind Brandtsegg" 
>> To: "Developer discussions" 
>> Sent: Monday, February 23, 2009 2:53 PM
>> Subject: Re: [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
>>> 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