[Package] Python installation teradatasql not able to find pycryptodome module error (pycrypto, pycryptodome encryption and crypto library)

 1. Problem Description

When installing teradatasql, error Could not find a version that satisfies the requirement pycryptodome, as follows:

2. Solution

View third party Python library directory $ PYTHON_HOME / lib / python3.6 / no pycryptodome directory site-packages directory, it means that this module is not installed. , The official download the installation package can be installed using pip.

pip install pycryptodome-3.8.2-cp36-cp36m-manylinux1_x86_64.whl

3. Knowledge supplement

crypto, pycrypto are encrypted and pycryptodome library, as described below: [krɪptoʊ]

Crypto provides symmetry to the GNU Privacy (GPG) encryption and decryption a simple interface for UNIX and Linux on a platform or multiple files. It runs on top of GPG, you need to install GPG on your system. Using the AES256 algorithm to encrypt passwords. download link

pycrypto (Python Cryptography Toolkit) is a set of secure hash function (e.g., and ripemd160 The sha256) and a variety of encryption algorithms (aes, des, rsa, elgamal like). It is a third-party library, but have stopped updating three years, it is not recommended to install the library. download link

pycryptodome is a separate python package contains low-level cryptographic primitives. It is an extension of version pycrypto, usage and pycrypto is exactly the same; recommends that developers use PyCryptodome or cryptography. download link

 

Reference documents:

python3.6 installation pycrypto, pycrytodome and crypto

Guess you like

Origin www.cnblogs.com/badboy200800/p/11201331.html