I am working with jupyter and python, and am getting the error 'NameError: name 'boto3' is not defined', even though I have it installed and upgraded. I have attached some code. Thank you!
pip install boto3 --user
pip install boto3 --upgrade
s3 = boto3.resource('s3')
You need to import the boto3 library before using it in Python ◡̈
import boto3
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.