python3开发环境搭建
版本选择
建议使用 Python 3.10.x 以上版本,因为 3.8 版本已经不再支持。 例如,在 mac 安装 python3.8报错:
==> Fetching downloads for: python@3.8
Error: python@3.8 has been disabled because it is deprecated upstream! It was disabled on 2024-10-14.Ubuntu 20.04 上安装 Python 3.10
在 Ubuntu 20.04 上安装 Python 3.10 是一个非常常见的需求,因为 20.04 自带的版本是 3.8。有几种可靠的方法,强烈推荐使用 Deadsnakes PPA,这是最官方、最便捷的方式。
