当前位置:网站首页>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
至此,问题解决
边栏推荐
- [compilation principle] lexical analysis design and Implementation
- Map operation execution process
- SAP HR 劳动合同信息 0016
- 数据分析系列 之3σ规则/依据拉依达准则来剔除异常值
- Summary of common methods of object class (September 14, 2020)
- webflux - webclient Connect reset by peer Error
- 【leetcode】day1
- Right click the idea file to create new. There is no solution to create new servlet
- 2022注册测绘师备考开始 还在不知所措?手把手教你怎么考?
- C cat and dog
猜你喜欢
随机推荐
C method question 1
B_ QuRT_ User_ Guide(38)
Map operation execution process
SQL database execution problems
Lm12 rolling heikin Ashi double K-line filter
Deep understanding of MySQL lock and transaction isolation level
Idea automatically generates serialVersionUID
C number of words, plus ¥, longest word, average value
C语言学习
SAP HR 劳动合同信息 0016
C # exchange number, judge to pass the exam
Understand TCP's three handshakes and four waves with love
PCB wiring rules of PCI Express interface
C inheritance and interface design polymorphism
B_QuRT_User_Guide(38)
城联优品作为新力量初注入,相关上市公司股价应声上涨150%
Installing gradle
2022 届的应届生都找到工作了吗?做自媒体可以吗?
Balanced binary tree [AVL tree] - insert, delete
Access database query all tables SQL