gpt4 book ai didi

python-3.x - 如何在 Travis CI 上构建 Python 3.8?

转载 作者:行者123 更新时间:2023-12-02 09:23:03 25 4
gpt4 key购买 nike

当我关注instructions provided时例如,在 Travis 上构建 Python 3.8

language: python 

matrix:
include:
- name: "Python 3.8 dev"
python: 3.8-dev
dist: trusty
env: PYTHON=python3 PIP=pip3 # Unnecessary on Lunix

I get

3.8-dev is not installed; attempting download
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/14.04/x86_64/python-3.8-dev.tar.bz2
0.06s$ curl -sSf -o python-3.8-dev.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404 Not Found
Unable to download 3.8-dev archive. The archive may not exist. Please consider a different version.

如何在 Travis CI 上构建 Python 3.8?

最佳答案

将 dist 更改为 xenial,因为 3.7 或更高版本需要这样做。

https://docs.travis-ci.com/user/languages/python/#python-37-and-higher

关于python-3.x - 如何在 Travis CI 上构建 Python 3.8?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55875347/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com