| I was thinking about that too.
I think the py opcodes use Python 2.x, don't they? I run my code from
Python 3.6
But when I run it from Python 2.7 I get the following:
/usr/bin/python /Users/richard/PycharmProjects/OscCtcSound/test.py
Traceback (most recent call last):
File "/Users/richard/PycharmProjects/OscCtcSound/test.py", line 1, in
from csoundSession import CsoundSession
File "/Users/richard/PycharmProjects/OscCtcSound/csoundSession.py",
line 24, in
import ctcsound
File "/Library/Python/2.7/site-packages/ctcsound.py", line 33, in
libcsound = CDLL("CsoundLib64.framework/CsoundLib64")
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(CsoundLib64.framework/CsoundLib64, 6): image not found
On 06/01/2019 19:21, Victor Lazzarini wrote:
> It could be that ctcsound is linked to a different python lib to the one your interpreter is
> using and then when they get loaded, they fail. Check that you are running the same libs.
> On MacOS, you can use otool -L to see which library is being used (passing the relevant
> file to it).
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 6 Jan 2019, at 18:05, Richard wrote:
>>
>> It also crashes with a very simple csd, with the py* opcodes.
>> Are these supported with ctcsound?
>>
>>
>> Richard
>>
>> On 06/01/2019 13:24, zappfinger wrote:
>>> Apparently it has to do with the py* opcodes. When I comment these out, the
>>> csd does not crash...
>>>
>>> Richard
>>>
>>>
>>>
>>> --
>>> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>>>
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>> https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>> https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |