Open ovo-Tim opened 1 month ago
I do remember it could be compiled on older nuitka, I am still testing.
Just failed on 2.3.11:
Nuitka-Plugins:dll-files: Found 2 files DLLs from thinc installation.
FATAL: Error, call to 'patchelf' failed: ['/usr/bin/patchelf', '--set-rpath', '$ORIGIN/../..:$ORIGIN/..', 'build/test.dist/thinc/backends/_custom_kernels.cu'] -> b'patchelf: not an ELF executable'.
I have tried to add flag --follow-import-to="spacy.lexeme"
, but that still couldn't solve the issues.
That only does follow to it it if asked, for which --standalone already gives permission. It doesn't make its use being noticed, for that --include-module would force that.
It works now. Thanks #3059.
There was a regression for develop, from the 3.12 code genenration optimization that has since been fixed, factory ought to work now and the next hotfix as well. We keep issues open until they are released in a stable release.
I'm trying to build a Python script utilizing the spaCy library. The build process completes successfully; however, when I run the compiled application, I encounter an error: No module named 'spacy.lexeme'.
Version Info
Using docker. created by
docker run -t -i --network host -v /tmp/testnuitka/:/my_file python /bin/bash
Install ways
I've tried the stable version that installed by
pip install nuitka
, and the dev version that installed bypip install -U "https://github.com/Nuitka/Nuitka/archive/develop.zip"
. The dev version can't even build:The specific PyPI names and versions
(shortened)
Example
The python file:
The commands I use:
Build command
nuitka --standalone --output-dir=build --clang --script-name=test.py