Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] ctcsound7 import error
Victor Lazzarini <[email protected]>
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <[email protected]> |
François will know better but I think you just remove the line for the function that doesn't exist. Prof. Victor Lazzarini Maynooth University Ireland > On 8 Jan 2025, at 19:40, joachim heintz <[email protected]> wrote: > > in line 77-78 of ctcsound.py i see: > > APIVERSION = libcsound.csoundGetAPIVersion() > VERSION = libcsound.csoundGetVersion() > > is there no difference any more between API version and version, or is there another function to return the version? > >> On 08/01/2025 20:27, Victor Lazzarini wrote: >> That function was removed. There is a csoundGetVersion(). >> Prof. Victor Lazzarini >> Maynooth University >> Ireland >>>> On 8 Jan 2025, at 19:03, joachim heintz <[email protected]> wrote: >>> >>> *Warning* >>> >>> This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe. >>> >>> i have csound7 in latest develop installed. when i try to import >>> ctcsound7 i get this error: >>> >>>>>> import ctcsound7 >>> Traceback (most recent call last): >>> File "<stdin>", line 1, in <module> >>> File "/home/jh/.local/lib/python3.11/site-packages/ctcsound7.py", >>> line 77, in <module> >>> APIVERSION = libcsound.csoundGetAPIVersion() >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> File "/usr/lib/python3.11/ctypes/__init__.py", line 389, in __getattr__ >>> func = self.__getitem__(name) >>> ^^^^^^^^^^^^^^^^^^^^^^ >>> File "/usr/lib/python3.11/ctypes/__init__.py", line 394, in __getitem__ >>> func = self._FuncPtr((name_or_ordinal, self)) >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> AttributeError: /usr/local/lib/libcsound64.so: undefined symbol: >>> csoundGetAPIVersion >>> >>> any idea how to solve? >>> thanks - >>> joachim