当前位置:网站首页>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
至此,问题解决
边栏推荐
- Mobile heterogeneous computing technology - GPU OpenCL programming (basic)
- Deep understanding of MySQL lock and transaction isolation level
- USB (XIV) 2022-04-12
- 【路径规划】使用垂距限值法与贝塞尔优化A星路径
- Take you hand in hand to build Eureka server with idea
- Windows set redis to start automatically
- JNI uses asan to check memory leaks
- 做自媒体视频剪辑怎么赚钱呢?
- C simple question one
- Summary of common methods of object class (September 14, 2020)
猜你喜欢

C number of words, plus ¥, longest word, average value
![[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

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

平衡二叉树【AVL树】——插入、删除

Pycharm essential plug-in, change the background (self use, continuous update) | CSDN creation punch in

PCB wiring rules of PCI Express interface
![[experiment sharing] log in to Cisco devices through the console port](/img/e4/fc72ed57de74a0dd51c484a1c2f348.png)
[experiment sharing] log in to Cisco devices through the console port

ping报错:未知的名称或服务

SAP HR reward and punishment information export

List. How to achieve ascending and descending sort() 2020.8.6
随机推荐
USB (XVII) 2022-04-15
家用电器行业渠道商协同系统解决方案:助力家电企业快速实现渠道互联网化
USB (XV) 2022-04-14
Dependency injection
0-1背包问题
数据分析系列 之3σ规则/依据拉依达准则来剔除异常值
Fibonacci number of dynamic programming
Arbre binaire équilibré [Arbre AVL] - Insérer et supprimer
Anti climbing means cracking the second
激光slam学习(2D/3D、偏实践)
Balanced binary tree [AVL tree] - insert, delete
平衡二叉樹【AVL樹】——插入、删除
[stm32+esp8266 connect Tencent cloud IOT development platform 2] stm32+esp8266-01s connect Tencent cloud
JNI uses asan to check memory leaks
MongoDB快速入门
SAP HR 劳动合同信息 0016
Take you hand in hand to build Eureka server with idea
How to login and enable synchronization function in Google browser
数据库面试题+解析
Summary of common methods of object class (September 14, 2020)