当前位置:网站首页>aws-aws help报错
aws-aws help报错
2022-07-07 21:53:00 【与数据交流的路上】
一、报错详情
Traceback (most recent call last):
File "/usr/local/bin/aws", line 27, in <module>
sys.exit(main())
File "/usr/local/bin/aws", line 23, in main
return awscli.clidriver.main()
File "/usr/local/lib/python3.5/dist-packages/awscli/clidriver.py", line 69, in main
driver = create_clidriver()
File "/usr/local/lib/python3.5/dist-packages/awscli/clidriver.py", line 79, in create_clidriver
event_hooks=session.get_component('event_emitter'))
File "/usr/local/lib/python3.5/dist-packages/awscli/plugin.py", line 44, in load_plugins
modules = _import_plugins(plugin_mapping)
File "/usr/local/lib/python3.5/dist-packages/awscli/plugin.py", line 61, in _import_plugins
module = __import__(path, fromlist=[module])
File "/usr/local/lib/python3.5/dist-packages/awscli/handlers.py", line 27, in <module>
from awscli.customizations.cloudformation import initialize as cloudformation_init
File "/usr/local/lib/python3.5/dist-packages/awscli/customizations/cloudformation/__init__.py", line 13, in <module>
from awscli.customizations.cloudformation.package import PackageCommand
File "/usr/local/lib/python3.5/dist-packages/awscli/customizations/cloudformation/package.py", line 26, in <module>
from awscli.customizations.s3uploader import S3Uploader
File "/usr/local/lib/python3.5/dist-packages/awscli/customizations/s3uploader.py", line 22, in <module>
from s3transfer.manager import TransferManager
File "/usr/local/lib/python3.5/dist-packages/s3transfer/__init__.py", line 592
range_param = f'bytes={start_range}-{end_range}'
^
SyntaxError: invalid syntax
二、解决
1.可以看到报错的重要信息为
File "/usr/local/lib/python3.5/dist-packages/s3transfer/__init__.py", line 592
range_param = f'bytes={start_range}-{end_range}'
^
SyntaxError: invalid syntax
2.查看版本
pip3 show s3transfer
# 报错版本: 0.5.2
# 正常版本: 0.5.0
3.调整版本
pip3 uninstall s3transfer
pip3 install s3transfer==0.5.0
至此,问题解决
边栏推荐
- B_QuRT_User_Guide(37)
- 数据分析系列 之3σ规则/依据拉依达准则来剔除异常值
- MySQL Index Optimization Practice I
- [stm32+esp8266 connects to Tencent cloud IOT development platform 3] stm32+esp8266-01s dynamically registers devices on Tencent cloud (at instruction mode) -- with source code
- Live server usage
- What if once again forgets the login password of raspberry pie? And you don't have a monitor yet! Today, I would like to introduce a method
- Arbre binaire équilibré [Arbre AVL] - Insérer et supprimer
- Installing gradle
- 【LeetCode】20、有效的括号
- USB (XVII) 2022-04-15
猜你喜欢

SAP HR social work experience 0023

ESP at installation esp8266 and esp32 versions

Idea automatically generates serialVersionUID

SAP HR labor contract information 0016

As a new force, chenglian premium products was initially injected, and the shares of relevant listed companies rose 150% in response

SAP HR 社会工作经历 0023

2022 Season 6 perfect children's model Shaanxi finals came to a successful conclusion
![[stm32+esp8266 connect Tencent cloud IOT development platform 2] stm32+esp8266-01s connect Tencent cloud](/img/78/3cc67a28872ff4d465484cbaee2f6e.jpg)
[stm32+esp8266 connect Tencent cloud IOT development platform 2] stm32+esp8266-01s connect Tencent cloud

What if once again forgets the login password of raspberry pie? And you don't have a monitor yet! Today, I would like to introduce a method

Anxin can internally test offline voice module vb-01 to communicate with esp-c3-12f
随机推荐
生鲜行业数字化采购管理系统:助力生鲜企业解决采购难题,全程线上化采购执行
UE4_ Ue5 panoramic camera
Arbre binaire équilibré [Arbre AVL] - Insérer et supprimer
网上买基金安全么?
B_ QuRT_ User_ Guide(39)
Markdown
Access database query all tables SQL
MongoDB快速入门
平衡二叉樹【AVL樹】——插入、删除
Dataguard 主备清理归档设置
HDU 4747 mex "recommended collection"
UE4_ Use of ue5 blueprint command node (turn on / off screen response log publish full screen display)
Navicat connects Oracle
C语言学习
【LeetCode】20、有效的括号
8.31 Tencent interview
Open source hardware small project: anxinco esp-c3f control ws2812
Given an array, such as [7864, 284, 347, 7732, 8498], now you need to splice the numbers in the array to return the "largest possible number."
SAP HR 家庭成员信息
Possible SQL for Oracle table lookup information