2

我在 SUSE 13.1 上安装了 python3,然后将其卸载。我也卸载了python2.7。然后我使用 zypper 再次安装了它们:

zypper install python
zypper install python3

安装很顺利,但结果是我的 /usr/bin 中不再有 python,而且我根本不知道如何启动解释器。

whereis python
python: /usr/lib/python3.3 /usr/lib/python2.7
whereis python3
python3: /usr/lib/python3.3 /usr/share/man/man1/python3.1.gz

还:

ls /usr/bin/python*
ls: cannot access /usr/bin/python*: No such file or directory

我可以手动创建链接ln -s,但我什至找不到二进制文件的位置。

有什么帮助吗?请。

4

1 回答 1

-1

您可以尝试复制/重命名以下文件

cp /etc/python3start  /etc/pythonstart
于 2015-05-18T18:34:49.717 回答