2014年3月12日 星期三

CentOS pip install MySQL-python

Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/MySQL-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-HGn8ZB-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/MySQL-python

Storing debug log for failure in /root/.pip/pip.log


# yum install gcc python-devel mysql-devel

沒有留言:

張貼留言