【Python】pycryptomodexのインストール
環境
Windows 10 home Python3.6.5
Build Tools for Visual Studio 2017インストール
画面下部にいってTools for Visual Studio 2017
を押下してBuild Tools for Visual Studio 2017
をダウンロード + インストール
pycryptoのpipインストール
pycrypto
pip install pycrypto
でインストールに失敗する
import Crypto
で出来ない
pycryptomode
pip install pycryptomode
でインストールできる
import Crypto
で出来ない
pycryptomodex
pip install pycryptomodex
でインストールできる
import Crypto
で出来ない
import Cryptodome
で動いた!
pycryptoは死んでいる
tl;dr: PyCrypto is dead. Switch to PyCryptodome (GitHub: https://github.com/Legrandin/pycryptodome PyPi: https://pypi.python.org/pypi/pycryptodome). Do not report any new bugs here!