Crash when launching python

dn PythonList at DancesWithMice.info
Wed Sep 4 15:25:13 EDT 2024


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-variables

Here is a library for programmatic manipulation:
site — Site-specific configuration hook 
https://docs.python.org/3/library/site.html#module-site

Please let us know how things progress...

-- 
Regards,
=dn


More information about the Python-list mailing list