amazon-web-servicesaws-cliamazon-linuxamazon-linux-2

running aws cli on amazon linux returns No module named 'cryptography'


running aws on an aws linux ec2 returns No module named 'cryptography'

updating or installing older version with pip does not help


Solution

  • You shouldn't use pip to install the AWS CLI tool. That method of installing the CLI tool is deprecated. Follow the installation instructions for the AWS CLI here.