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
installed nuitka with python.exe -m pip install https://github.com/Nuitka/Nuitka/archive/develop.zip
Nuitka version (used with mingw64)
2.3rc5
Commercial: None
Python: 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)]
Flavor: CPython Official
Executable: C:\Users\shapingview\Desktop\repos\venv-312-test\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 11
Nuitka-Scons:WARNING: Windows SDK must be installed in Visual Studio for it to be usable with Nuitka. Use the Visual Studio installer for adding
Nuitka-Scons:WARNING: it.
Version C compiler: ~\AppData\Local\Nuitka\Nuitka\Cache\DOWNLO~1\gcc\x86_64\13.2.0-16.0.6-11.0.1-msvcrt-r1\mingw64\bin\gcc.exe (gcc 13.2.0).
Running this script with python works fine, but after compilation with nutika it doesnt
> python .\hw.py # works fine
Hello nuitka!
Remark:
I am also using --mingw64 because I currently can't install newer MSVC versions. Not sure if that is relevant for this issue
Without --standalone it works
> python.exe -m nuitka --mingw64 --standalone hw.py
Nuitka-Options: Used command line options: --mingw64 --standalone hw.py
Nuitka: Starting Python compilation with Nuitka '2.3rc5' on Python '3.12' 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: gcc (gcc 13.2.0).
Nuitka-Scons: Backend linking program with 99 files (no progress information available for this stage).
Nuitka-Scons: Compiled 99 C files using ccache.
Nuitka-Scons: Cached C files (using ccache) with result 'cache hit': 99
Nuitka: Keeping build directory 'hw.build'.
Nuitka: Successfully created 'hw.dist\hw.exe'.
running > .\hw.dist\hw.exe does not return anything.
Thanks for your help! I'm looking forward to your feedback
The text was updated successfully, but these errors were encountered:
ShapingView
changed the title
multiprocessing fails with python 3.12, nuitka 2.3rc5 and --standalone
multiprocessing fails with python 3.12.3, nuitka 2.3rc5 and --standaloneMay 22, 2024
ShapingView
changed the title
multiprocessing fails with python 3.12.3, nuitka 2.3rc5 and --standalone
Bug: No response with numpy 1.26.4, python 3.12.3, nuitka 2.3rc5 and --standaloneMay 22, 2024
I just tried it, and it works fine with the current factory branch, at least. We also ran large parts of Nuitka-Watch against that and it should be good. There will be a pre-release of it soon too.
The bug I have fixed might be one that shows only in certain malloc situations, on every n-th run, maybe that is why you found another version to work.
Update: It seems to work with numpy 1.26.3 but not with 1.26.4
My Environment
Running python 3.12.3 on windows 11 23H2
python -m venv venv-312-test
python.exe -m pip install https://github.com/Nuitka/Nuitka/archive/develop.zip
Nuitka version (used with mingw64)
python environment:
Script
Compiling this script (
hw.py
) does not workVersion without numpy works
Behavior
Running this script with python works fine, but after compilation with nutika it doesnt
Remark:
--mingw64
because I currently can't install newer MSVC versions. Not sure if that is relevant for this issue--standalone
it worksrunning
> .\hw.dist\hw.exe
does not return anything.Thanks for your help! I'm looking forward to your feedback
The text was updated successfully, but these errors were encountered: