Huanshere / Huanshere/VideoLingo
建议: 修复 Ubuntu 20.04 构建 Docker 镜像时找不到 Python 3.10 相关包的问题
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 18.5k
- Forks
- 2k
- Avg merge
- 7h 41m
- Merged PRs (30d)
- 12
Description
在执行 docker build 构建镜像时,执行到安装 Python 的步骤会报错失败。 错误信息如下:
E: Unable to locate package python3.10-dev
E: Couldn't find any package by glob 'python3.10-dev'
E: Unable to locate package python3.10-distutils
缺失依赖组件:deadsnake已经不再支持python 3.10 for unbuntu 20.04
参考方案:升级unbuntu至 22.04可以解决这个问题
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the repository's Docker build entry point and inspect the configuration selecting Ubuntu 20.04. Verify the Python package installation step and update the Ubuntu base version to 22.04 as proposed. Done means docker build completes without the python3.10-dev and python3.10-distutils package errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python, ubuntu
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100