擅长:python、mysql、java
<p>Fedora中的默认python仍然是python2.x(请参见<a href="http://fedoraproject.org/wiki/Python3" rel="nofollow">here</a>)。所以你需要输入“python3”来启动3.x解释器。从Fedora安装中删除Python2.x不是一个好主意,因为可能有许多系统函数使用/需要Python2.x。如果您真的希望能够只键入“python”来运行3.x解释器,我建议您修改主目录中的<code>.bash_login</code>文件,使<code>python</code>成为<code>/usr/bin</code>中默认Python3解释器的别名。在</p>