python 安装PIL模块
2014-12-15 16:24
411 查看
python要处理图片就要安装PIL模块,在安装过程中可能回报一个错误
/usr/bin/ld: /usr/local/lib/libpython2.6.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpython2.6.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
解决方案是把/usr/local/lib/libpython2.6.a 这个文件给搞掉,再执行 python setup.py install 就行了
/usr/bin/ld: /usr/local/lib/libpython2.6.a(abstract.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpython2.6.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
解决方案是把/usr/local/lib/libpython2.6.a 这个文件给搞掉,再执行 python setup.py install 就行了
相关文章推荐
- Linux 64位系统安装Python PIL模块
- python 安装PIL模块解决Unable to find vcvarsall.bat错误
- windows 64位安装Python以及PIL模块详细步骤
- centos 安装python PIL(Python Imaging Library)模块
- python2.7安装PIL.Image模块
- ubuntu12.04.4下安装python模块PIL
- Linux 安装Python/PIL模块
- python安装PIL模块时Unable to find vcvarsall.bat错误的解决方法
- centos 安装python PIL模块
- mac python2.7安装PIL.Image模块
- python PIL模块安装
- Python2.7 NumPy和PIL模块安装
- mac下python安装pil模块缺少stdio.h的错误
- python安装PIL模块时Unable to find vcvarsall.bat错误的解决方法
- 64位centos下安装python的PIL模块
- centos 安装python PIL模块
- Centos 安装python PIL模块(实践)
- windows 64位安装Python以及PIL模块详细步骤
- Linux系统安装Python PIL模块
- centos 安装python PIL模块