Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install des via python pip




des - A pure Python implementation for the famous DES algorithm, it belongs to Classifiers:

- Development Status :: 5 - Production/Stable
- License :: OSI Approved :: MIT License
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.1
- Programming Language :: Python :: 3.4
- Programming Language :: Python :: 3.5
- Programming Language :: Python :: 3.6
- Programming Language :: Python :: 3.7
- Programming Language :: Python :: 3.8
- Programming Language :: Python :: 3.9
- Programming Language :: Python :: 3.10
- Topic :: Security
- Topic :: Security :: Cryptography
- Topic :: Software Development
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Python Modules

When you know about this project and you want to new install des to support your project or you get trouble as ModuleNotFoundError: No module named "des" or ImportError: cannot import name "des" in your project, let follow this tutorial to install des



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

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 virtual environment:

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_des_env

- Active the virtual environment

test_des_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_des_env

- Active the virtual environment

source test_des_env/bin/active


Step 2: OK, now, let flow below content to start the installation des

To install des on Windows(CMD):

py -m pip install des

To install des on Unix/macOs:

pip install des


Step 3: If you want to install a specific des version, add ==<des version> to the end command line

Example:

pip install des==1.0.4


Please see the version list below table:

VersionReleased dateCommand
des 1.0.62022-05-01T15:07:26Windows:

py -m pip install des==1.0.6

Unix/macOs:

pip install des==1.0.6

des 1.0.52019-04-27T06:36:22Windows:

py -m pip install des==1.0.5

Unix/macOs:

pip install des==1.0.5

des 1.0.42019-01-01T06:03:33Windows:

py -m pip install des==1.0.4

Unix/macOs:

pip install des==1.0.4


Step 4: Otherwise, you can install des from local archives:

Download the distribution file from des-1.0.6.tar.gz or the specific des version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_des_downloaded_file>

On Unix/macOs:

pip install <path_to_des_downloaded_file>


List distribution:

- des-1.0.4.tar.gz
- des-1.0.5.tar.gz
- des-1.0.6.tar.gz


Project link:

- Homepage