Python安装

huangapple go评论79阅读模式
英文:

Installation of Python

问题

以下是您要翻译的内容:

"Want to use python and typed the command py which gave me the following list.

I certainly want to use the most recent version. Should one clean up such setup so that I only have python3.6?

hagbard@fuckup:~$ py
py3clean pydoc pygettext2.7 python python3.6m
py3compile pydoc2.7 pygettext3 python2 python3m
py3versions pydoc3 pygettext3.6 python2.7 python3-qr
pyclean pydoc3.6 pygmentex python3 pythontex
pycompile pygettext pyhtmlizer python3.6 pyversions"

英文:

Want to use python and typed the command py which gave me the following list.

I certainly want to use the most recent version. Should one clean up such setup so that I only have python3.6 ?

hagbard@fuckup:~$ py
py3clean      pydoc         pygettext2.7  python        python3.6m
py3compile    pydoc2.7      pygettext3    python2       python3m
py3versions   pydoc3        pygettext3.6  python2.7     python3-qr
pyclean       pydoc3.6      pygmentex     python3       pythontex
pycompile     pygettext     pyhtmlizer    python3.6     pyversions

答案1

得分: 0

如果这些命令在您的系统中默认存在且您没有自己安装它们,我不会执行删除操作,您应该非常小心在没有进一步考虑的情况下删除它们。您必须记住,在Linux上,Python预安装在大多数Linux发行版中。某些基本应用程序使用Python来运行,因为它是一种标准。我建议使用Virtualenv(https://virtualenv.pypa.io/en/latest/),这将在将来为您省去许多麻烦。

英文:

I wouldn't do it if those commands come by default in your system and you haven't installed them yourself, you should be very careful deleting them without further consideration. You have to keep in mind that on Linux, Python comes preinstalled on most Linux distributions. Certain elementary applications use Python to function, based on the fact that it is a standard. I recommend using Virtualenv (https://virtualenv.pypa.io/en/latest/), this will save you many headaches in the future.

huangapple
  • 本文由 发表于 2023年5月29日 21:53:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/76357948.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定