我正在判断gitubaction上的线头.我的github操作步骤如下

  lint:
    name: Lint
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Set up Python
        uses: actions/setup-python@v4
        with:
          python-version-file: '.python-version'
          cache: 'pip'
          cache-dependency-path: 'requirements.txt'

Error screenshot Attached below enter image description here

你能帮我修一下吗?

推荐答案

lint:
name: Lint
runs-on: ubuntu-latest
steps:
  - name: Checkout
    uses: actions/checkout@v3
  - name: Set up Python
    uses: actions/setup-python@v4
    with:
      python-version-file: '.python-version'
  - name: Cache dependencies
    uses: actions/cache@v3
    with:
      path: ~/.cache/pip
      key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
      restore-keys: |
          ${{ runner.os }}-pip-
          ${{ runner.os }}-

我也面临同样的问题.这是因为cache服务器没有响应,包括内部服务器错误或任何其他错误.

Python相关问答推荐

从收件箱中的列中删除html格式

如何让Flask 中的请求标签发挥作用

按顺序合并2个词典列表

如何在Python脚本中附加一个Google tab(已经打开)

driver. find_element无法通过class_name找到元素'""

Pandas—在数据透视表中占总数的百分比

如何使用Pandas DataFrame按日期和项目汇总计数作为列标题

如何从需要点击/切换的网页中提取表格?

如何在TensorFlow中分类多个类

使用字典或列表的值组合

使用Python异步地持久跟踪用户输入

如何求相邻对序列中元素 Select 的最小代价

Django Table—如果项目是唯一的,则单行

操作布尔值的Series时出现索引问题

组颠倒大Pandas 数据帧

正则表达式反向查找

运行从Airflow包导入的python文件,需要airflow实例?

在FastAPI/Starlette中使用WebSockets时如何运行后台任务?

在极坐标中添加列总计行

对齐多个叠置多面Seborn CAT图