用的是论坛的CenOS脚步安装(在此表示感谢,很好用;虽然也装上了,也能运行,但是过程中提示一下信息,好像是PyYAML没装好,这个重要吗? 我怎么能手动装上?
..........
Installed /usr/lib/python2.6/site-packages/simplejson-3.3.1-py2.6-linux-i686.egg
Searching for pyyaml
Reading http://pypi.python.org/simple/pyyaml/ br />Best match: PyYAML 3.10
Downloading https://pypi.python.org/packages/source/P/PyYAML/PyYAML-3.10.zip#md5=b1a2b30cdf481da4249c917c3307f129 br />Processing PyYAML-3.10.zip
Running PyYAML-3.10/setup.py -q bdist_egg --dist-dir /tmp/easy_install-iU3fhz/PyYAML-3.10/egg-dist-tmp-tiV6ls
build/temp.linux-i686-2.6/check_libyaml.c:2:18: 错误:yaml.h:没有那个文件或目录
build/temp.linux-i686-2.6/check_libyaml.c: 在函数‘main’中:
build/temp.linux-i686-2.6/check_libyaml.c:5: 错误:‘yaml_parser_t’未声明(在此函数内第一次使用)
build/temp.linux-i686-2.6/check_libyaml.c:5: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
build/temp.linux-i686-2.6/check_libyaml.c:5: 错误:所在的函数内也只报告一次。)
build/temp.linux-i686-2.6/check_libyaml.c:5: 错误:expected ‘;’ before ‘parser’
build/temp.linux-i686-2.6/check_libyaml.c:6: 错误:‘yaml_emitter_t’未声明(在此函数内第一次使用)
build/temp.linux-i686-2.6/check_libyaml.c:6: 错误:expected ‘;’ before ‘emitter’
build/temp.linux-i686-2.6/check_libyaml.c:8: 警告:隐式声明函数‘yaml_parser_initialize’
build/temp.linux-i686-2.6/check_libyaml.c:8: 错误:‘parser’未声明(在此函数内第一次使用)
build/temp.linux-i686-2.6/check_libyaml.c:9: 警告:隐式声明函数‘yaml_parser_delete’
build/temp.linux-i686-2.6/check_libyaml.c:11: 警告:隐式声明函数‘yaml_emitter_initialize’
build/temp.linux-i686-2.6/check_libyaml.c:11: 错误:‘emitter’未声明(在此函数内第一次使用)
build/temp.linux-i686-2.6/check_libyaml.c:12: 警告:隐式声明函数‘yaml_emitter_delete’
libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
specify the option --include-dirs or uncomment and
modify the parameter include_dirs in setup.cfg)
zip_safe flag not set; analyzing archive contents...
Adding PyYAML 3.10 to easy-install.pth file
Installed /usr/lib/python2.6/site-packages/PyYAML-3.10-py2.6-linux-i686.egg
Searching for mock
Reading http://pypi.python.org/simple/mock/ br />Best match: mock 1.0.1
Downloading https://pypi.python.org/packages/source/m/mock/mock-1.0.1.zip#md5=869f08d003c289a97c1a6610faf5e913 br />Processing mock-1.0.1.zip
Running mock-1.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-a4kp2y/mock-1.0.1/egg-dist-tmp-ahuSd3
warning: no files found matching '.png' under directory 'docs'
warning: no files found matching '.css' under directory 'docs'
warning: no files found matching '.html' under directory 'docs'
warning: no files found matching '.js' under directory 'docs'
zip_safe flag not set; analyzing archive contents...
Adding mock 1.0.1 to easy-install.pth file
Installed /usr/lib/python2.6/site-packages/mock-1.0.1-py2.6.egg
Searching for Jinja2
Reading http://pypi.python.org/simple/Jinja2/ br />Best match: Jinja2 2.7.1
Downloading https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.7.1.tar.gz#md5=282aed153e69f970d6e76f78ed9d027a br />Processing Jinja2-2.7.1.tar.gz
Running Jinja2-2.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-BXIwji/Jinja2-2.7.1/egg-dist-tmp-wRAOlC
warning: no files found matching '' under directory 'custom_fixers'
warning: no previously-included files matching '' found under directory 'docs/_build'
warning: no previously-included files matching '.pyc' found under directory 'jinja2'
warning: no previously-included files matching '.pyc' found under directory 'docs'
warning: no previously-included files matching '.pyo' found under directory 'jinja2'
warning: no previously-included files matching '.pyo' found under directory 'docs'
Adding Jinja2 2.7.1 to easy-install.pth file
...................