Csound Csound-dev Csound-tekno Search About

[Csnd] python csnd on osx

Date2011-03-21 15:04
FromOeyvind Brandtsegg
Subject[Csnd] python csnd on osx
Hello

We have the csnd module working in our lab (osx 10.6 csound 5.12 python 2.6),
but one of my students get a "no module named csnd" error in python
(same software versions as above).
I'm unsure what could be wrong, I had him install 5.13 but no change.

I tried to go to
/Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Python/2.6/
and run python csnd.py, just to test it

dhcp-032061:2.6 kimervik$ python csnd.py
Traceback (most recent call last):
  File "csnd.py", line 7, in 
    import _csnd
ImportError: /Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Python/2.6/_csnd.so:
no appropriate 64-bit architecture (see "man python" for running in
32-bit mode)

any hints appreciated
Oeyvind


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-03-21 15:13
FromVictor Lazzarini
SubjectRe: [Csnd] python csnd on osx
Looks like he's trying to run python in 64 bit mode and the module is  
32bit. I suggest doing
exactly what the message say: try reading the python manual. Possibly  
it's just a matter of giving
a command-line option.

Victor
On 21 Mar 2011, at 15:04, Oeyvind Brandtsegg wrote:

> Hello
>
> We have the csnd module working in our lab (osx 10.6 csound 5.12  
> python 2.6),
> but one of my students get a "no module named csnd" error in python
> (same software versions as above).
> I'm unsure what could be wrong, I had him install 5.13 but no change.
>
> I tried to go to
> /Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/ 
> Python/2.6/
> and run python csnd.py, just to test it
>
> dhcp-032061:2.6 kimervik$ python csnd.py
> Traceback (most recent call last):
>  File "csnd.py", line 7, in 
>    import _csnd
> ImportError: /Library/Frameworks/CsoundLib.framework/Versions/5.2/ 
> Resources/Python/2.6/_csnd.so:
> no appropriate 64-bit architecture (see "man python" for running in
> 32-bit mode)
>
> any hints appreciated
> Oeyvind
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-03-21 15:24
FromAndrew Antle
SubjectRe: [Csnd] python csnd on osx
I've been using 2.5. I'd follow Victor's advice, though.

Andy

On Mar 21, 2011, at 11:13, Victor Lazzarini   
wrote:

> Looks like he's trying to run python in 64 bit mode and the module  
> is 32bit. I suggest doing
> exactly what the message say: try reading the python manual.  
> Possibly it's just a matter of giving
> a command-line option.
>
> Victor
> On 21 Mar 2011, at 15:04, Oeyvind Brandtsegg wrote:
>
>> Hello
>>
>> We have the csnd module working in our lab (osx 10.6 csound 5.12  
>> python 2.6),
>> but one of my students get a "no module named csnd" error in python
>> (same software versions as above).
>> I'm unsure what could be wrong, I had him install 5.13 but no change.
>>
>> I tried to go to
>> /Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/ 
>> Python/2.6/
>> and run python csnd.py, just to test it
>>
>> dhcp-032061:2.6 kimervik$ python csnd.py
>> Traceback (most recent call last):
>> File "csnd.py", line 7, in 
>>   import _csnd
>> ImportError: /Library/Frameworks/CsoundLib.framework/Versions/5.2/ 
>> Resources/Python/2.6/_csnd.so:
>> no appropriate 64-bit architecture (see "man python" for running in
>> 32-bit mode)
>>
>> any hints appreciated
>> Oeyvind
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
>> "unsubscribe csound"
>>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-03-21 15:33
FromOeyvind Brandtsegg
SubjectRe: [Csnd] python csnd on osx
ok. thanks,
That makes sense now,
I just thought it was a recurring old problem with location of the
csnd file, sorry for the ignorance.
Oeyvind

2011/3/21 Victor Lazzarini :
> Looks like he's trying to run python in 64 bit mode and the module is 32bit.
> I suggest doing
> exactly what the message say: try reading the python manual. Possibly it's
> just a matter of giving
> a command-line option.
>
> Victor
> On 21 Mar 2011, at 15:04, Oeyvind Brandtsegg wrote:
>
>> Hello
>>
>> We have the csnd module working in our lab (osx 10.6 csound 5.12 python
>> 2.6),
>> but one of my students get a "no module named csnd" error in python
>> (same software versions as above).
>> I'm unsure what could be wrong, I had him install 5.13 but no change.
>>
>> I tried to go to
>> /Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Python/2.6/
>> and run python csnd.py, just to test it
>>
>> dhcp-032061:2.6 kimervik$ python csnd.py
>> Traceback (most recent call last):
>>  File "csnd.py", line 7, in 
>>   import _csnd
>> ImportError:
>> /Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Python/2.6/_csnd.so:
>> no appropriate 64-bit architecture (see "man python" for running in
>> 32-bit mode)
>>
>> any hints appreciated
>> Oeyvind
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"