By using AWS re:Post, you agree to the Terms of Use

[Errno 2] No such file or directory


Hey Team,

I'm trying to access AWS console using AWS CLI, but I'm getting following error, please do help

[Errno 2] No such file or directory

Software Version installed
C:\Users>python --version
Python 3.7.0a2

C:\Users>aws --version
aws-cli/1.13.0 Python/2.7.9 Windows/8 botocore/1.8.3

C:\Users>pip --version
pip 9.0.1 from c:\users\nrao2\appdata\local\programs\python\python37\lib\site-packages (python 3.7)

Edited by: NTRao on Nov 30, 2017 6:47 PM

asked 5 years ago534 views
2 Answers

I found a suggestion by googling

C:\WINDOWS\system32>copy "c:\Program Files\Amazon\AWSCLI\botocore\vendored\requests\cacert.pem" "c:\Program Files\Amazon\AWSCLI\certifi"

But above one could not resolved my issue...

Appreciate your suggestions

Edited by: NTRao on Nov 30, 2017 6:51 PM

Edited by: NTRao on Dec 1, 2017 10:46 AM

answered 5 years ago

Hey Team,


I found that ssl connection causing this issue!, Later I ignored ssl connection using "--no-verify-ssl"

Now my aws cli is able to establish connection from my aws account

Hope it will be useful!!


answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions