aws / aws/aws-elastic-beanstalk-cli-setup

After succesfully completing installation, eb init gives the error 'no module found named 'botocore'' [Ubuntu 20.04]

Open
#111 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
537
Forks
226
PR merge metrics
No merged PRs in 30d

Description

Trying to follow [this](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-flask.html) tutorial, and when I try to enter `eb init -p python-3.6 flask-tutorial --region us-east-2` into bash, I get the following error: `ModuleNotFoundError: No module named 'botocore'`
I have installed botocore with pip, as well as seeing that botocore was being installed while following this aws-elasticbeanstalk-cli-setup readme.

I tried to just run the command `eb init` to see what happened and I got the same error.. How do I fix this?

Contributor guide

Open the contributing guide

Research direction

Start with the aws-elasticbeanstalk-cli-setup README and reproduce the reported command, `eb init -p python-3.6 flask-tutorial --region us-east-2`, on Ubuntu 20.04. Check why the installed EB CLI cannot import `botocore`, then verify that both `eb init` and the tutorial command complete without `ModuleNotFoundError`.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cli, cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.