Sujet : Re: Crash when launching python
De : PythonList (at) *nospam* DancesWithMice.info (dn)
Groupes : comp.lang.pythonDate : 04. Sep 2024, 21:25:13
Autres entêtes
Organisation : DWM
Message-ID : <mailman.34.1725477926.2917.python-list@python.org>
References : 1 2
User-Agent : Mozilla Thunderbird
On 5/09/24 03:27, Guenther Sohler via Python-list wrote:
Hi,
My "Project" is to integrate python support into OpenSCAD. It runs quite
well, but
there are still issues on MacOS. On My MacOS it works, but it crashes when
I ship
the DMG files.
It looks very much like python is not able to find the "startup" python
files and therefore crashes.
Is it possible to turn on debugging and to display on the console, where
python is loading files from ?
(am not a Mac user)
Starting with 'the basics', are you familiar with:
5. Using Python on a Mac
https://docs.python.org/3/using/mac.html(and the more general preceding sections)
This doc likely includes mention of such parameters:
1.2. Environment variables
https://docs.python.org/3/using/cmdline.html#environment-variablesHere is a library for programmatic manipulation:
site — Site-specific configuration hook
https://docs.python.org/3/library/site.html#module-sitePlease let us know how things progress...
-- Regards,=dn