boto / boto

For the latest version of boto, see https://github.com/boto/boto3 -- Python interface to Amazon Web Services

Home Page:http://docs.pythonboto.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'boto3' (jupyter) - python3

ksachdeva11 opened this issue · comments

Describe the bug
import boto3 is failing on jupyter.
ModuleNotFoundError: No module named 'boto3'

Steps to reproduce
import boto3

(base) BLDM3192-MAC:Downloads ksachdeva$ python -m pip install --user boto3
Collecting boto3
  Downloading https://files.pythonhosted.org/packages/bd/b9/0b1091c4decad281742c1064d88fd52dca4d56b916e66292a7ea999482e5/boto3-1.12.47-py2.py3-none-any.whl (128kB)
     |████████████████████████████████| 133kB 115kB/s
Collecting botocore<1.16.0,>=1.15.47 (from boto3)
  Downloading https://files.pythonhosted.org/packages/27/0c/e59372623f9bb9a81bf4c974b545f866d0a26f17c80c348e2da1be41b72f/botocore-1.15.47-py2.py3-none-any.whl (6.1MB)
     |████████████████████████████████| 6.1MB 126kB/s
Collecting s3transfer<0.4.0,>=0.3.0 (from boto3)
  Using cached https://files.pythonhosted.org/packages/69/79/e6afb3d8b0b4e96cefbdc690f741d7dd24547ff1f94240c997a26fa908d3/s3transfer-0.3.3-py2.py3-none-any.whl
Collecting jmespath<1.0.0,>=0.7.1 (from boto3)
  Downloading https://files.pythonhosted.org/packages/a3/43/1e939e1fcd87b827fe192d0c9fc25b48c5b3368902bfb913de7754b0dc03/jmespath-0.9.5-py2.py3-none-any.whl
Requirement already satisfied: urllib3<1.26,>=1.20; python_version != "3.4" in /opt/anaconda3/lib/python3.7/site-packages (from botocore<1.16.0,>=1.15.47->boto3) (1.24.2)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /opt/anaconda3/lib/python3.7/site-packages (from botocore<1.16.0,>=1.15.47->boto3) (2.8.0)
Requirement already satisfied: docutils<0.16,>=0.10 in /opt/anaconda3/lib/python3.7/site-packages (from botocore<1.16.0,>=1.15.47->boto3) (0.15.2)
Requirement already satisfied: six>=1.5 in /opt/anaconda3/lib/python3.7/site-packages (from python-dateutil<3.0.0,>=2.1->botocore<1.16.0,>=1.15.47->boto3) (1.12.0)
Installing collected packages: jmespath, botocore, s3transfer, boto3
Successfully installed boto3-1.12.47 botocore-1.15.47 jmespath-0.9.5 s3transfer-0.3.3
(base) BLDM3192-MAC:Downloads ksachdeva$ python --version
Python 3.7.4
(base) BLDM3192-MAC:Downloads ksachdeva$ pip --version
pip 19.2.3 from /opt/anaconda3/lib/python3.7/site-packages/pip (python 3.7)

Hi @ksachdeva11,

If you're still experiencing this, please open up an issue on the boto3 repository:

https://github.com/boto/boto3/issues/new/choose

Thanks!