如何正确安装python?
当我手动安装它时/usr/local/bin
但这会导致许多问题,例如我无法安装模块。
我想把它安装到/usr/bin
最佳答案
这取决于你的发行版。大多数发行版的存储库中都有它,安装时只需使用包管理器即可。例如在ubuntu上是:sudo apt-get install python
或者在fedora上是:su -c 'dnf install python'
关于python - 如何在Linux上正确安装python?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/33025522/