Mac M1 build with qt6 suceeded, but ...
I made some minor changes in makefiles etc. to build with qt 6 on an macbook pro with m1 chip. Build process went fine, but every aspect of using python (using console, execute snippet) crashes the application. Reported error is:
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Python path configuration:
PYTHONHOME = '/Applications/Glaxnimate.app/Contents/Resources'
PYTHONPATH = '/Applications/Glaxnimate.app/Contents/Resources/share/glaxnimate/glaxnimate/lib'
program name = 'python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/Applications/Glaxnimate.app/Contents/Resources/bin/glaxnimate'
sys.base_prefix = '/Applications/Glaxnimate.app/Contents/Resources'
sys.base_exec_prefix = '/Applications/Glaxnimate.app/Contents/Resources'
sys.platlibdir = 'lib'
sys.executable = '/Applications/Glaxnimate.app/Contents/Resources/bin/glaxnimate'
sys.prefix = '/Applications/Glaxnimate.app/Contents/Resources'
sys.exec_prefix = '/Applications/Glaxnimate.app/Contents/Resources'
sys.path = [
'/Applications/Glaxnimate.app/Contents/Resources/share/glaxnimate/glaxnimate/lib',
'/Applications/Glaxnimate.app/Contents/Resources/lib/python310.zip',
'/Applications/Glaxnimate.app/Contents/Resources/lib/python3.10',
'/Applications/Glaxnimate.app/Contents/Resources/lib/python3.10/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x0000000109ffc580 (most recent call first):
<no Python frame>
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Some things, wich I found: The first item in sys.path exists on my machine, but therer is no python.
I tried python 3.9 and 3.10 both as a Framework or via brew.
I started to digg into the source code with no result. Any hints? What to look for?
If I can build the app, I would be happy to share the binaries with you?
Edited by Mattia "Glax" Basaglia