Neither Cryptography 38.0.4 or Cryptography 40.0.1 works #8673
Unanswered
david-dong828
asked this question in
Q&A
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for reaching out and for your patience. Cryptography is a required dependency and here are the supported version ranges for v2. I recommend uninstalling and reinstalling the CLI following this documentation to update to a more recent version and ensure you have the required dependencies. The latest CLI version per the CHANGELOG is 2.15.45. Converting this to a discussion as this is a guidance-related question, let us know if you have any follow up questions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
cryptography 38.0.4 is installed
Name: cryptography
Version: 38.0.4
Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers.
Home-page: https://github.com/pyca/cryptography
Author: The Python Cryptographic Authority and individual contributors
Author-email: [email protected]
License: BSD-3-Clause OR Apache-2.0
Location: /home/ec2-user/.local/lib/python3.9/site-packages
Requires: cffi
Required-by: acme, awscli, certbot, josepy, pyOpenSSL
Trying to copy file from S3 to EC2.
Use command:
[ec2-user@ip-xx-xx]$ aws s3 cp s3://ec2-1-s3/aws_test.py test1.py
Expected Behavior
The file shoube be copied from S3 to EC2.
Current Behavior
Error:
No module named 'cryptography'
Reproduction Steps
EC2: Amazon Linux 2023, US-EAST-1
S3: US-EAST-1
Then normal copy file command from S3 to EC2
Possible Solution
No response
Additional Information/Context
CLI version used
awscli-2-2.9.19-1.amzn2023.0.1.noarch
Environment details (OS name and version, etc.)
EC2: Amazon Linux 2023, US-EAST-1 S3: US-EAST-1
Beta Was this translation helpful? Give feedback.
All reactions