gpt4 book ai didi

python - python 3 是否有任何 linux 发行版?

转载 作者:IT王子 更新时间:2023-10-29 00:38:12 25 4
gpt4 key购买 nike

我想知道是否有可以轻松安装和使用 Python 3 的 Linux 发行版。这意味着发行版不仅会提供 Python 3 二进制文件和更新,还会提供 python 模块。

我知道我们可能不会很快看到任何 python 3 作为默认的 python 解释器,但至少我希望看到最新的 2.x 作为默认 (2.6+) 和已经安装的替代版本。

可能是主要发行版之间的问题:Ubuntu、Fedora 或 Suse?

最佳答案

Ubuntu 10.04 默认带有 Python 2.6.5,但以下 python 3 包也在标准存储库中:

python3                 python3.1-minimal       python3-devpython3.0               python3.1-profiler      python3-docpython3.1               python3.1-tk            python3-examplespython3.1-celementtree  python3.1-wsgiref       python3-gdbmpython3.1-cjkcodecs     python3.2               python3-gdbm-dbgpython3.1-ctypes        python3-all             python3-minimalpython3.1-dbg           python3-all-dbg         python3-pkg-resourcespython3.1-dev           python3-all-dev         python3-profilerpython3.1-doc           python3-bsddb           python3-setuptoolspython3.1-elementtree   python3-bsddb3          python3-tkpython3.1-examples      python3-bsddb3-dbg      python3-tk-dbgpython3.1-gdbm          python3-dbg

更新:
对于 *ubuntu 11.04,列表(正如预期的那样)有点长)请注意,我遗漏了 python3.1- 和 python3.2- 前缀包:

python3-all                 python3-examples            python3-pkg-resourcespython3-all-dbg             python3-gdbm                python3-profilerpython3-all-dev             python3-gdbm-dbg            python3-pygmentspython3-apt                 python3-gearman.libgearman  python3-pyudevpython3-apt-dbg             python3-httplib2            python3-serialpython3-beaker              python3-ipaddr              python3-setuptoolspython3-bsddb3              python3-jinja2              python3-sippython3-bsddb3-dbg          python3-jinja2-dbg          python3-sip-dbgpython3-cxx                 python3-lxml                python3-sip-devpython3-cxx-dev             python3-lxml-dbg            python3-sqlalchemypython3-dbg                 python3-mako                python3-tkpython3-dev                 python3-markupsafe          python3-tk-dbgpython3-distutils-extra     python3-markupsafe-dbg      python3-yamlpython3-dns                 python3-minimal             python3-yaml-dbgpython3-doc                 python3-objgraph            python3-zope.fixers   

更新(2013-03-21):
当前版本的 *buntu (12.10) 已经有相当多的 Python 3 包可用(>200;太多无法列出)。突出的异常(exception)包括 python3-django 和 python3-matplotlib(尽管后者将包含在 13.04 Raring Ringtail 中)。如果您需要一个尚未在包管理器中但已经移植的包,12.10 包括适用于 Python 3 的 pip 和 easy_install。

关于python - python 3 是否有任何 linux 发行版?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3127715/

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