Pyarmor CLI Core Linux

raw JSON →
8.1.1 verified Mon Apr 27 auth: no python

Provides pre-built extension modules `pytransform3` and `pyarmor_runtime` for Pyarmor on Linux. Current version is 8.1.1, released infrequently as a supporting package for Pyarmor.

pip install pyarmor-cli-core-linux
error ImportError: No module named pyarmor_runtime
cause The pyarmor_runtime module is not installed or imported correctly.
fix
Install the platform-specific package: pip install pyarmor-cli-core-linux and ensure import pyarmor_runtime is called after installation.
error Pyarmor 8.0+ has only 3 commands: gen, reg, cfg
cause Using old commands like 'pyarmor init' which were removed in Pyarmor 8.
fix
Use 'pyarmor gen' to obfuscate scripts, 'pyarmor reg' to register, and 'pyarmor cfg' to configure.
error OSError: [WinError 126] The specified module could not be found
cause Loading the wrong platform-specific DLL on Windows or missing dependencies.
fix
Install the correct platform package (pyarmor-cli-core-windows) and ensure Microsoft Visual C++ Redistributable is installed.
breaking Pyarmor 8+ changed the CLI to only three commands: gen, reg, cfg. Using `pyarmor init` will fail with error 'Pyarmor 8.0+ has only 3 commands'.
fix Use `pyarmor gen` to obfuscate scripts instead of `pyarmor init`.
deprecated The `pyarmor.cli.core` package is being replaced by `pyarmor.cli.core.linux` (or platform-specific packages). Do not install `pyarmor-cli-core`, instead use the platform-specific package.
fix Install `pyarmor-cli-core-linux` for Linux, `pyarmor-cli-core-windows` for Windows, etc.
gotcha The `pytransform3` and `pyarmor_runtime` modules are compiled C extensions and may not work if your Python version is not supported by the pre-built binaries.
fix Ensure your Python version (e.g., 3.8-3.13) matches one of the pre-built wheels. Check the package's PyPI page for supported versions.

Import and initialize pyarmor_runtime before executing any obfuscated code.

import pyarmor_runtime
pyarmor_runtime.pyarmor_runtime()
# Then run your obfuscated scripts