You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
└─> pip install nuitka
Collecting nuitka
Downloading Nuitka-2.4.8.tar.gz (3.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 45.0 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting ordered-set>=4.1.0 (from nuitka)
Obtaining dependency information for ordered-set>=4.1.0 from https://files.pythonhosted.org/packages/33/55/af02708f230eb77084a299d7b08175cff006dea4f2721074b92cdb0296c0/ordered_set-4.1.0-py3-none-any.whl.metadata
Downloading ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB)
Collecting zstandard>=0.15 (from nuitka)
Obtaining dependency information for zstandard>=0.15 from https://files.pythonhosted.org/packages/e8/46/66d5b55f4d737dd6ab75851b224abf0afe5774976fe511a54d2eb9063a41/zstandard-0.23.0-cp311-cp311-macosx_11_0_arm64.whl.metadata
Downloading zstandard-0.23.0-cp311-cp311-macosx_11_0_arm64.whl.metadata (3.0 kB)
Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Downloading zstandard-0.23.0-cp311-cp311-macosx_11_0_arm64.whl (633 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 633.7/633.7 kB 58.0 MB/s eta 0:00:00
Building wheels for collected packages: nuitka
Building wheel for nuitka (pyproject.toml) ... done
Created wheel for nuitka: filename=Nuitka-2.4.8-cp311-cp311-macosx_14_0_arm64.whl size=3360842 sha256=8e5eac4ce5936c79f2e04ea8c91a4727ff4cb00e0220eb91d9225b7ead688ea5
Stored in directory: /Users/I530566/Library/Caches/pip/wheels/6e/56/51/4b70eb29185b1b63302b1cba1d3032dea7eba0be20abebe9fa
Successfully built nuitka
Installing collected packages: zstandard, ordered-set, nuitka
Successfully installed nuitka-2.4.8 ordered-set-4.1.0 zstandard-0.23.0
[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: pip install --upgrade pip
╭─hamradio/tmp/nuitika via 🐍 v3.11.6 (.venv) with (qa-de-1) took 17s ❯
└─> pip install -U pip
Requirement already satisfied: pip in ./.venv/lib/python3.11/site-packages (23.2.1)
Collecting pip
Obtaining dependency information for pip from https://files.pythonhosted.org/packages/d4/55/90db48d85f7689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.2-py3-none-any.whl.metadata
Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.2.1
Uninstalling pip-23.2.1:
Successfully uninstalled pip-23.2.1
Successfully installed pip-24.2
╭─hamradio/tmp/nuitika via 🐍 v3.11.6 (.venv) with (qa-de-1) ❯
└─> vim test.py
└─> python test.py
Talk Hello dude.
└─> cat -p test.py
def talk(message):
return "Talk " + message
def main():
print(talk("Hello dude."))
if __name__ == "__main__":
main()
└─> python -m nuitka test.py
Nuitka-Options: Used command line options: test.py
Nuitka-Options:WARNING: You did not specify to follow or include anything but main program. Check options and make sure that is intended.
Nuitka: Starting Python compilation with Nuitka '2.4.8' on Python '3.11' commercial grade 'not installed'.
Nuitka: Completed Python level compilation and optimization.
Nuitka: Generating source code for C backend compiler.
Nuitka: Running data composer tool for optimal constant value handling.
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: clang (clang 16.0.0).
Nuitka-Scons: Backend linking program with 6 files (no progress information available for this stage).
Undefined symbols for architecture arm64:
"_libintl_bind_textdomain_codeset", referenced from:
__locale_bind_textdomain_codeset in libpython3.11.a[139](_localemodule.o)
"_libintl_bindtextdomain", referenced from:
__locale_bindtextdomain in libpython3.11.a[139](_localemodule.o)
__locale_bindtextdomain in libpython3.11.a[139](_localemodule.o)
"_libintl_dcgettext", referenced from:
__locale_dcgettext in libpython3.11.a[139](_localemodule.o)
"_libintl_dgettext", referenced from:
__locale_dgettext in libpython3.11.a[139](_localemodule.o)
"_libintl_gettext", referenced from:
__locale_gettext in libpython3.11.a[139](_localemodule.o)
"_libintl_setlocale", referenced from:
__locale_setlocale in libpython3.11.a[139](_localemodule.o)
__locale_setlocale in libpython3.11.a[139](_localemodule.o)
__locale_localeconv in libpython3.11.a[139](_localemodule.o)
__locale_localeconv in libpython3.11.a[139](_localemodule.o)
__locale_localeconv in libpython3.11.a[139](_localemodule.o)
__locale_localeconv in libpython3.11.a[139](_localemodule.o)
"_libintl_textdomain", referenced from:
__locale_textdomain in libpython3.11.a[139](_localemodule.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [/Users/I530566/devel/mine/hamradio/tmp/nuitika/test.bin] Error 1
FATAL: Failed unexpectedly in Scons C backend compilation.
Nuitka:WARNING: Complex topic! More information can be found at https://nuitka.net/info/scons-backend-failure.html
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: