- Topic :: Security
- Topic :: Security :: Cryptography
When you know about this project and you want to new install sm4 to support your project or you get trouble as ModuleNotFoundError: No module named "sm4" or ImportError: cannot import name "sm4" in your project, let follow this tutorial to install sm4
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_sm4_env
- Active the virtual environment
test_sm4_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_sm4_env
- Active the virtual environment
source test_sm4_env/bin/active
To install sm4 on Windows(CMD):
py -m pip install sm4
To install sm4 on Unix/macOs:
pip install sm4
Example:
pip install sm4==1.0.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
sm4 1.0.2 | 2022-05-01T15:10:40 | Windows: Unix/macOs:
|
sm4 1.0.1 | 2019-04-27T06:31:31 | Windows: Unix/macOs:
|
sm4 1.0.0 | 2019-04-27T06:08:31 | Windows: Unix/macOs:
|
Download the distribution file from sm4-1.0.2.tar.gz or the specific sm4 version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_sm4_downloaded_file>
On Unix/macOs:
pip install <path_to_sm4_downloaded_file>
List distribution:
Project link:
- Homepage