Unable to import obfuscated package into Databricks #1994
Unanswered
apd-esierra
asked this question in
Q&A
Replies: 1 comment
-
First check this Generally, it's Python version issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running PyArmor 9 and built my Wheel package following the Docs and tutorials. When executing the obfuscated Wheel in my local machine it runs perfectly fine; however, when uploading the wheel and trying to use it in Databricks I get an error:
ImportError: /python3.10/site-packages/parent/pyarmor_runtime_000000/pyarmor_runtime.so: undefined symbol: _PyCode_Validate
The way I build the Wheel was:
Obfuscation Command:
pyarmor gen --recursive -i src/parent
Build Command
python -m build --skip-dependency-check --no-isolation
Databricks Python is 3.10 so I'm building using a 3.10 Python venv.
Any clue on what might be happening?
Beta Was this translation helpful? Give feedback.
All reactions