![](/img/trans.png)
[英]Facing issue while running aws boto3 ec2 inventory script NameError: name 'Instance_name' is not defined
[英]NameError: name 'boto3' is not defined
我正在使用 jupyter 和 python,並且收到錯誤“NameError: name 'boto3' is not defined”,即使我已經安裝和升級了它。 我附上了一些代碼。 謝謝!
pip install boto3 --user
pip install boto3 --upgrade
s3 = boto3.resource('s3')
在Python中使用前需要導入boto3庫◡̈
import boto3
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.