最近一直想搭建个LAMP的系统,在安装Mysql-python 的时候止步了
进入mysql-python的文件夹
#python setup.py install后就报错
------------------------------------
Extracting in /tmp/tmpZbkn_2
Traceback (most recent call last):
File "setup.py", line 7, in <module>
use_setuptools()
File "/home/huangyong/LAMP/MySQL-python-1.2.4/distribute_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/home/huangyong/LAMP/MySQL-python-1.2.4/distribute_setup.py", line 125, in _do_download
_build_egg(egg, tarball, to_dir)
File "/home/huangyong/LAMP/MySQL-python-1.2.4/distribute_setup.py", line 98, in _build_egg
tar = tarfile.open(tarball)
File "/usr/local/lib/python2.7/tarfile.py", line 1665, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully
--------------------------------------------------------------------------
这下搞了半天都不行。。。。纠结啊!谁给看下这啥问题啊。。。。。。。。