Closed asasas234 closed 1 year ago
Hi @asasas234, you need to eval import site
in the context before importing anything from a virtualenv or a user site. See https://github.com/oracle/graalpython/blob/master/docs/user/Packages.md
Note you cannot use packages installed for CPython, the C extensions are not binary compatible. You have to install your packages into a separate environment created with GraalPy.
I see that whisperx
dependes on transformers
. That package currently doesn't work , it's work in progress (https://github.com/oracle/graalpython/issues/276)
master
/docs/user/Packages.md
Thank you very much, for avoiding my detours, then I still consider running whisperX in the way of executing the shell in Java
I want to execute a python script through graalvm, and the error is as follows:
I confirmed that the script itself is fine, I can execute it normally in my python development tool, and I execute
pip show whisperx
The output is as follows:How can I solve it?