我正在尝试安装 nolearn,一个 python 机器学习库(基于 theano 和 lasagne),并且收到一个不寻常的错误(注意:该命令是安装 nolearn 作为安装文档的第一步):
命令:
sudo pip install -r https://raw.githubusercontent.com/dnouri/nolearn/master/requirements.txt
输出:
Command "{user-directory}/miniconda3/envs/condatest/bin/python3 -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-_ox1_tc0/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ms2zduwl-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-_ox1_tc0/scipy
我已经尝试了很多事情,包括安装 freetype 以及重新安装 matplotlib(都基于另一个 stackexchange 帖子),但不幸的是它仍然不起作用(显示了上面的错误)。
任何帮助表示赞赏!
我的配置如下:
- 在 MAC OSX (Yosemite) 上运行
- 在 ANACONDA 环境中运行
- 使用 conda 作为环境管理器