[Csnd-dev] ctcsound error on import
|From||"Worrall, David" |
|Subject||[Csnd-dev] ctcsound error on import|
BTW: OS is OS macOS Sierra 10.12.6.
One of my students is having a problem with the latest version of csound (OSX 64bit as per the csound website)
Try to import ctcsound in to python.
Python 3.8.8 (default, Apr 13 2021, 12:59:45)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctcsound
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/jrostollan/Desktop/dson/ctcsound.py", line 2705, in <module>
libcspt.NewCsoundPT.restype = ct.c_void_p
File "/opt/anaconda3/lib/python3.8/ctypes/__init__.py", line 394, in __getattr__
func = self.__getitem__(name)
File "/opt/anaconda3/lib/python3.8/ctypes/__init__.py", line 399, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, NewCsoundPT): symbol not found
So python is finding the file but there’s a config or versioning problem, perhaps.
Anyone have any clue what to do?
Dr David Worrall
Professor, Audio Arts and Acoustics
Columbia College Chicago
33 E. Ida B. Wells Drive Room 601A
Chicago, ILLINOIS, USA 60605
Wikipedia Facebook Soundcloud Youtube
Personal research/creative practice website: avatar.com.au
Organised Sound issue (25/1): Computation in the Sonic Arts
Book: Sonification Design: From data to intelligible soundfields (Springer)
|From||Leonardo Foletto |
|Subject||Re: [Csnd-dev] ctcsound error on import|
Hi David, I was seeing the same error some time ago.
Do you know what version of Csound and what version of ctcsound is she running?
You need to make sure that the versions match.
For example if running latest csound release 6.16.2 she should be doing ```pip3 install ctcsound==6.16.2```
On Sat, Oct 16, 2021 at 2:54 AM Worrall, David <firstname.lastname@example.org> wrote: