当前位置:网站首页>AWS AWS help error
AWS AWS help error
2022-07-07 23:44:00 【On the way of data communication】
One 、 Error details
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
Two 、 solve
1. You can see that the important information of error reporting is
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. View version
pip3 show s3transfer
# Wrong version : 0.5.2
# Normal version : 0.5.0
3. Adjust version
pip3 uninstall s3transfer
pip3 install s3transfer==0.5.0
thus , Problem solving
边栏推荐
猜你喜欢

平衡二叉樹【AVL樹】——插入、删除
![P1067 [noip2009 popularity group] polynomial output (difficult, pit)](/img/1f/a798879a0d65eccefa339b288f2102.jpg)
P1067 [noip2009 popularity group] polynomial output (difficult, pit)

Understand TCP's three handshakes and four waves with love

Anxinco EC series modules are connected to the multi protocol access products of onenet Internet of things open platform

Wechat applet development beginner 1
![[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](/img/55/ab50ead2564498cb214d98ac5b9c3d.jpg)
[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

MongoDB快速入门

Learn about scratch

Take you hand in hand to build feign with idea

一份假Offer如何盗走了「Axie infinity」5.4亿美元?
随机推荐
Where are you going
Come on, brother
Learn about scratch
Idea automatically generates serialVersionUID
ASP. Net core middleware request processing pipeline
P1308 [noip2011 popularity group] count the number of words
0-1背包问题
二叉排序树【BST】——创建、查找、删除、输出
企业应用需求导向开发之人力部门,员工考勤记录和实发工资业务程序案例
SAP memory parameter tuning process
Uic564-2 Appendix 4 - flame retardant fire test: flame diffusion
c—线性表
平衡二叉树【AVL树】——插入、删除
Pigsty:开箱即用的数据库发行版
平衡二叉樹【AVL樹】——插入、删除
Restricted linear table
Flash encryption process and implementation of esp32
UIC564-2 附录4 –阻燃防火测试:火焰的扩散
Navicat connects Oracle
数据分析系列 之3σ规则/依据拉依达准则来剔除异常值