python安装但不在/ usr / bin中

时间:2014-02-27 15:26:58

标签: installation python-install

我在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的链接,但我甚至找不到二进制文件的位置。

有任何帮助吗?请。

1 个答案:

答案 0 :(得分:-1)

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

mysql> show status LIKE '%open_%';
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| Com_show_open_tables     | 0     |
| Open_files               | 449   |
| Open_streams             | 0     |
| Open_table_definitions   | 169   |
| Open_tables              | 365   |
| Opened_files             | 7436  |
| Opened_table_definitions | 0     |
| Opened_tables            | 0     |
| Slave_open_temp_tables   | 0     |
+--------------------------+-------+
9 rows in set (0.00 sec)

mysql> show status LIKE '%key_%';
+------------------------+----------+
| Variable_name          | Value    |
+------------------------+----------+
| Com_assign_to_keycache | 0        |
| Com_preload_keys       | 0        |
| Com_show_keys          | 0        |
| Key_blocks_not_flushed | 0        |
| Key_blocks_unused      | 1617830  |
| Key_blocks_used        | 96906    |
| Key_read_requests      | 15325797 |
| Key_reads              | 91041    |
| Key_write_requests     | 497292   |
| Key_writes             | 421837   |
+------------------------+----------+
10 rows in set (0.00 sec)