I recently upgraded Linux Mint to 19.1 X64
with Python 3.6
from Linux Mint 18.3 X64
(with Python 3.5.2
), and tried
from Crypto.Cipher import AES
I first got,
ImportError: No module named apt_pkg
fixed it by
sudo ln -s apt_pkg.cpython-{36m,35m}-x86_64-linux-gnu.so
in /usr/lib/python3/dist-packages
;
then got another error,
ImportError: cannot import name '_AES'
I am wondering how to fix it. The interpreter for the project in PyCharm
is currently set to Python 3.5.2
;