Comments (5)
Sorry @kayhayen , but I cannot reproduce this on arm64 macOS (specifically mac mini, having Homebrew on PATH).
I did a quick test based on runners using Github Actions. According to Github Document, macos-11
, macos-12
and macos-13
are x86_64
-based of macOS, while macos-14
is arm64
-based of macOS. Then just define job steps to run the exact build procedure this issue addressed before on the OS-matrix. The test result is here.
As you can see, for jobs on macos-14
, which have Homebrew in PATH (verified by Get Homebrew version
step, the same on other OS), but nuitka didn't give any errors. However for jobs on x86_64
-based macOS, the job succeeded with nuitka 1.8.6
, but not with nuitka 1.9
and nuitka 2.2.1
, and gave the error this issue aimed to report.
Does that mean this is an exception specifically for x86_64
-based macOS? Should I continue on this issue or reopen another?
from nuitka.
It seems you have Homebrew in PATH, don't do that. For CPython, Nuitka will pick up system DLLs and believe this one to be necessary.
from nuitka.
This fixed it for me with the Github provided runners, given that you do this before your Nuitka step:
# Remove problematic brew libs if Intel Mac
- name: Remove problematic brew libs
run: |
brew remove --force --ignore-dependencies openssl@3
brew cleanup openssl@3
if: runner.os == 'macos' && matrix.arch == 'i386'
from nuitka.
With Homebrew, it's "lib" directory has to be added, and for amd64, this is clearly separated from the rest of the OS, but I am not so sure for x86_64, there it was probably very dirty. Since Homebrew is not what is recommended for portable distributions anyway, I don't think I will want to make it work if it's effort to pull hairs between OS and Homebrew DLLs not being clearly sorted. I think CPython should be used rather than Homebrew, since that gives maximum portability. Homebrew typically is not backward portable, CPython and PyPI are better at that, maybe, although I wouldn't swear on it.
from nuitka.
I am tempted to disallow standalone on Homebrew with x86_64, since it's a trap only, but maybe I am all wrong, and the /usr/local/lib is not an OS folder at all, is it?
from nuitka.
Related Issues (20)
- opcua generated sources is too large for C compilers HOT 5
- Consider using "default" entry points HOT 2
- Packaging Error with PyOpenGL in Editable Mode HOT 4
- Generate compile_commands.json (Bump scons version to 4.x) HOT 9
- Can I include LGPL code in Nuitka, e.g. PySide6? HOT 4
- Pyqt5 issue: FATAL: pyqt5: Plugin issue while working on 'Plugin initialization failed' HOT 3
- Nuitka might generate unsafe code HOT 20
- Performance question on nuitka code HOT 1
- Suggestion: macOS bundle compliance HOT 4
- Issues with compiling tsai HOT 1
- ModuleNotFoundError: No module named 'imp' in python 3.12 HOT 1
- Creating an exe that uses Flet with a custom icon only changes the binary icon, not the app itself HOT 33
- Nuitka doesn't catch illegal characters in dest paths of data files HOT 2
- Ubuntu 24.04 Python needs to be supported (was Building xonsh shell with python 3.12: scons backend failure) HOT 17
- PySide6: could not load the Qt platform plugin "xcb" in "" even though it was found HOT 17
- Debug compilation fails with `pillow` used by `matplotlib` (`-Werror=unused-but-set-variable`) HOT 4
- Window icons for pywebview are not displayed correctly HOT 5
- PySide6 fails to load shiboken.Shiboken6 with Python3.12 HOT 19
- How to compile absolutely all modules installed? HOT 1
- opencv + python3.12 fails on "ModuleNotFoundError: No module named 'imp'" HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuitka.