- Development Status :: 4 - Beta
- Intended Audience :: Developers
- License :: OSI Approved
- License :: OSI Approved :: The Unlicense (Unlicense)
- Operating System :: OS Independent
- Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.8
- Programming Language :: Python :: 3.9
- Programming Language :: Python :: 3.10
- Topic :: Software Development
- Topic :: Software Development :: Assemblers
- Topic :: Software Development :: Build Tools
- Topic :: Software Development :: Compilers
- Topic :: Software Development :: Disassemblers
- Topic :: Software Development :: Interpreters
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Java Libraries
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: Software Development :: Pre-processors
When you know about this project and you want to new install smali to support your project or you get trouble as ModuleNotFoundError: No module named "smali" or ImportError: cannot import name "smali" in your project, let follow this tutorial to install smali
In Windows (CMD):
py -m pip --version
In Unix/macOS:
python3 -m pip --version
Ensure pip, setuptools, and wheel are up to date:
In Windows (CMD):
py -m pip install --upgrade pip setuptools wheel
In Unix/macOS:
python3 -m pip install --upgrade pip setuptools wheel
Optional - If you want to install
In Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_smali_env
- Active the virtual environment
test_smali_env\Scripts\active
In Unix/macOS:
- Install virtualenv - if you installed it, please ignore
pip3 install virtualenv
- Create a virtual environment
python3 -m venv test_smali_env
- Active the virtual environment
source test_smali_env/bin/active
To install smali on Windows(CMD):
py -m pip install smali
To install smali on Unix/macOs:
pip install smali
Example:
pip install smali==0.2.4
Please see the version list below table:
Version | Released date | Command |
---|---|---|
smali 0.2.5 | 2021-03-07T00:28:06 | Windows: Unix/macOs:
|
smali 0.2.4 | 2021-03-06T12:21:32 | Windows: Unix/macOs:
|
Download the distribution file from smali-0.2.5.tar.gz or the specific smali version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_smali_downloaded_file>
On Unix/macOs:
pip install <path_to_smali_downloaded_file>
List distribution:
Project link: