- 论坛徽章:
- 0
|
各位大虾!小弟今天刚接触python,下载了个python2.7.3的源码包进行编译安装。 安装成功后,能正常运行,启动! 但是出现一个错误,请大家帮忙看看,万分感谢!
我的环境:SuSe 10 SP4
错误信息:
ossserver01:~ # uname -a
Linux ossserver01 2.6.16.60-0.85.1-smp #1 SMP Thu Mar 17 11:45:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
ossserver01:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 4
ossserver01:~ # python
Python 2.7.3 (default, Aug 22 2012, 16:18:12)
[GCC 4.1.2 20070115 (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "/etc/pythonstart", line 7, in <module>
import readline
ImportError: No module named readline --这里报:ImportError: No module named readline 是什么原因引起的啊,求教!
>>> |
|