使用pip或git安装pymc3包时出错

时间:2017-11-19 12:46:18

标签: pip pymc3

我正在尝试使用git follow

安装pymc3
$ pip install git+https://github.com/pymc-devs/pymc3

我收到以下错误

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/hm/40wvfw514611psdffd2gfxdw0000gn/T/pip-6adU4q-build/

并使用pip

$ pip install pymc3

我收到以下错误

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/hm/40wvfw514611psdffd2gfxdw0000gn/T/pip-build-GLYokK/pymc3/

更新setuptools

时出现以下错误

enter image description here

1 个答案:

答案 0 :(得分:2)

尝试运行:

sudo pip install --upgrade setuptools

这是根据:

Python pip install gives "Command "python setup.py egg_info" failed with error code 1"