在所有环境中运行我们的bitbucket管道时,awsconfigure命令失败,并出现以下错误
+ aws configure set aws_access_key_id "${AWS_ACCESS_KEY}"
Traceback (most recent call last):
File "/usr/bin/aws", line 19, in <module>
import awscli.clidriver
File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 62, in <module>
from awscli.autoprompt.core import AutoPromptDriver
File "/usr/lib/python3/dist-packages/awscli/autoprompt/core.py", line 16, in <module>
from awscli.autoprompt.prompttoolkit import PromptToolkitPrompter
File "/usr/lib/python3/dist-packages/awscli/autoprompt/prompttoolkit.py", line 25, in <module>
from awscli.autocomplete.local import model
File "/usr/lib/python3/dist-packages/awscli/autocomplete/local/model.py", line 20, in <module>
from awscli.autocomplete import db
File "/usr/lib/python3/dist-packages/awscli/autocomplete/db.py", line 3, in <module>
import sqlite3
File "/usr/lib/python3.11/sqlite3/__init__.py", line 57, in <module>
from sqlite3.dbapi2 import *
File "/usr/lib/python3.11/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: /usr/lib/python3.11/lib-dynload/_sqlite3.cpython-311-x86_64-linux-gnu.so: undefined symbol: sqlite3_deserialize
由于此AWS问题,我们无法在所有环境中完成构建。
这是我们应该向AWS报告的AWS CLI问题还是其他问题?
1条答案
按热度按时间kxeu7u2r1#
清除bitbucket管道缓存依赖项修复了该问题。
也许是一个稍微旧一点的
aws-cli
版本出现了故障,正在使用?