| Try using the "csnd" Python extension module, which should replace the CsoundVST module.
Because not everyone was building CsoundVST, many builds of Csound lacked scripting facilities. Therefore, I have factored the Python interface to Csound out of CsoundVST and moved into "csnd" in the interfaces directory. There are also Lua, Java, and CLisp interfaces.
You may find it easier to do a fresh CVS checkout to get this to build properly.
Hope this helps,
Mike
-----Original Message-----
From: Sebastian Gutsfeld
Sent: Nov 6, 2005 11:49 AM
To: csound@lists.bath.ac.uk
Subject: [Csnd] Python and CsoundVST: No module named csnd
Hi *,
I compiled csound5 from CVS (2005-11-02) and get the following error
message when importing CsoundVST in my python code:
,----
| File "/usr/local/lib/CsoundVST.py", line 4241, in ?
| import csnd
| ImportError: No module named csnd
`----
After renaming the two occurences of "csnd" to "_csnd" at the end of
CsoundVST.py (I thought I could import /usr/local/lib/_csnd.so) I get
,----
| File "/usr/local/lib/CsoundVST.py", line 4242, in ?
| sys.modules["__main__"].csound = _csnd.CppSound()
| AttributeError: 'module' object has no attribute 'CppSound'
`----
Any idea how to fix this and use the CsoundVST python module?
regards,
Sebastian
--
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
|