Rok Mandeljc

Results 553 comments of Rok Mandeljc

> > I'm reopening this, as it is likely a regression from PyInstaller 5.x series. > > In v6, we preserve .framework bundle layouts (to address several other issues), but...

> By the way, the error seems like: > > ``` > Traceback (most recent call last): > File "struct.py", line 13, in > ImportError: dlopen(/Users/mac/Downloads/my-app/_internal/lib-dynload/_struct.cpython-311-darwin.so, 0x0002): tried: '/Users/mac/Downloads/my-app/_internal/lib-dynload/_struct.cpython-311-darwin.so' (code...

> pyinstaller 5.13.2 don't has the python.framework problem. Yeah, that's expected, since `Python.framework` is preserved only in v6. > but system still keeping block the so libs. Only type sudo...

Is it an x86_64 build, arm64 one, or universal2?

What is the output of `xattr -lr /Users/mac/Downloads/my-app`? Is it empty?

Is the quarantine flag also set on the contents? Because that is the only scenario where I can reproduce the extensions in `lib-dynload` not being able to load with `......

I.e., does recursively removing the quarantine flag (`xattr -dr com.apple.quarantine /Users/mac/Downloads/my-app`) fix the problem?

> is it the same issue as mine ? 816] Error loading Python lib '/Applications/gyp6band.app/Contents/Frameworks/libpython3.8.dylib': dlopen: dlopen(/Applications/gyp6band.app/Contents/Frameworks/libpython3.8.dylib, 10): no suitable image found. Did find: /Applications/gyp6band.app/Contents/Frameworks/libpython3.8.dylib: cannot load 'libpython3.8.dylib' (load command...

Yeah, it'd be nice to have an `--exclude-file` (and maybe rename/alias the `--exclude` to `--exclude-module`). It's one of the things on my list of things to look into, although it's...

My current idea is that `--exclude-file` should take *destination* file paths (or rather, patterns). As you noted, source paths may vary between environments, but destination path should be invariant. It...