Integrating Python, was Re: The New Product
Stefan Csomor
csomor at advancedconcepts.ch
Wed Oct 19 17:11:09 UTC 2022
Hi Xavier
And this was from https://www.python.org/downloads/ ? I'm right now linking against the 3.10 python release which gets installed into
/Library/Frameworks/Python.framework/Versions/3.10/Python
Best,
Stefan
Am 19.10.22, 18:31 schrieb "omnisdev-en im Auftrag von IT" <omnisdev-en-bounces at lists.omnis-dev.com im Auftrag von it at plastipol.com>:
Hi,
I have python 3 instaled on Intel Mac.
xavier
> El 19 oct 2022, a las 15:08, Stefan Csomor <csomor at advancedconcepts.ch> escribió:
>
> Hi
>
> Yes, exactly. Did you already install Python 3 on that machine ? is it a Apple Silicon or Intel base mac ?
>
> Best,
>
> Stefan
>
> Am 19.10.22, 12:13 schrieb "omnisdev-en im Auftrag von Phil (OmnisList)" <omnisdev-en-bounces at lists.omnis-dev.com im Auftrag von phil at pgpotter.co.uk>:
>
> Xavier,
>
> xcomps report this when they can't find some dynamic libs or other such
> external libraries to run with.
>
> I believe in this case you will need either libpython2.7.dylib or
> equivalent v3 version libpython3.7.dylib.
>
> regards
> Phil Potter
> Based in Chester in the UK.
>
> On 19/10/2022 07:23, IT wrote:
>> Hi Stefan
>>
>> I’m getting the next error in Omnis trace log starting Omnis 10.2 31315
>>
>> opython3.u_xcomp component couldn't be loaded because the code fragment is missing.
>>
>> Any clues?
>>
>> xavier
>>
>>
>>> El 29 may 2022, a las 17:15, Stefan Csomor<csomor at advancedconcepts.ch> escribió:
>>>
>>> Hi
>>>
>>>> But a good python integration literally opens up the whole of the python
>>>> extensions world to be available inside Omnis.
>>> I've done a presentation of Python integration into Omnis in 2008, I've also pushed the code to github, updated for Python 3,https://github.com/advancedconcepts/opython but this was rather for integrating Python into the main / GUI thread.
>>>
>>> The problem with background language workers using python is that CPython itself is not very well suited to profit from multiple cores when multithreading - there still is a global object GIL (Global Interpreter Lock) that each thread has to acquire when active, so in order to really profit from multi-core / multi-processor machines you'd have to use a multi-process solution, which is a little bit more complex. (When your python multi-threaded code is primarily IO bound or effectively wrapping a c-library that itself is benefitting from multiple cores then things are different of course).
>>>
>>> Just my 0.02$
>>>
>>> Best,
>>>
>>>
>>> Stefan
>>>
>>> _____________________________________________________________
>>> Manage your list subscriptions athttps://lists.omnis-dev.com
>>> Start a new message ->mailto:omnisdev-en at lists.omnis-dev.com
>> _____________________________________________________________
>> Manage your list subscriptions athttps://lists.omnis-dev.com
>> Start a new message ->mailto:omnisdev-en at lists.omnis-dev.com
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list