python安装模块报错

安装readline-6.2.4.1时报:“ImportError: No module named setuptools”错误。

则要安装setuptools 0.9.6即可

继续报错

gcc: readline/libreadline.a: No such file or directory

gcc: readline/libhistory.a: No such file or directory

error: command 'gcc' failed with exit status 1

解决方法(suse环境)

进入到readline目录下, ./confiure make make install后.再执行上述步骤就。

还有存在问题

error: command 'gcc' failed with exit status 1

继续查找存在的问题

gamedb:/data/soft/readline-6.2.4.1 # zypper install python-devel


readline/libreadline.a: could not read symbols: Bad value

zypper install python-dev

你可能感兴趣的:(python)