ImportError: No module named yaml
PRoblem
solution:
yaml library for Python seems to not be installed on your system.
On ubuntu system just do a :
On windows
在window下安装的时候可能没有自带安装easy_install 需要我们手动安装
首先下载easy_install的安装包,下载地址:http://pypi.python.org/pypi/setuptools
在页面上找到 ez_setup.py下载下来,执行即可
嫌麻烦的直接下载 PyYAML-3.10.win32-py2.7.exe
安装Python依赖
[html] view plain copy cd pyhon #里面有requirements.tx文件 sudo apt-get install python-pip sudo su for req in $(cat "requirements.txt"); do pip install -i https://pypi.tuna.tsinghua.edu.cn/simple $req; done新闻热点
疑难解答