unfortunately the python modules are version dependent. You would need a csnd.so module built for 2.7. Which OS are you on?
----- Original Message -----
From: zappfinger <zappfinger@gmail.com>
Date: Thursday, February 23, 2012 10:16 pm
Subject: [Csnd] csnd and Python 2.7.2
To: csound@lists.bath.ac.uk

> I just upgraded from Python 2.5 to 2.7.2.
> Then I could not import csnd anymore. It was in the
> python2.4/site-packages
> folder, so I put it in the 2.7 site-packages, together with the
> .so file.
> Made the symlink, but now I get:
> >>> import csnd
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "csnd.py", line 5, in <module>
>     import _csnd
> ImportError: dlopen(./_csnd.so, 2): no suitable image
> found.  Did find:
> ./_csnd.so: unknown file type, first eight bytes: 0x7F 0x45
> 0x4C 0x46 0x01
> 0x01 0x01 0x00
>
> Where can I get the correct version of these files?
>
> Richard
>
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/csnd-and-Python-2-7-2-
> tp5509776p5509776.htmlSent from the Csound - General mailing
> list archive at Nabble.com.
>
>
> 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,
National University of Ireland, Maynooth