由于用homebrew安装了python2和python3,

在运行pip install -r requirement.txt时出现以下错误:

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/xr/zpv3lqzs50n6v78nv4dmnhjm0000gn/T/pip-build-nfmxgoei/jcconv/

排查了很久发现:

requirement.txt中涉及的模块

有些在python3中不支持,需要用python2安装,所以使用的命令是:

pip2 install -r requirement.txt

Recent Posts