安装CVXpy:编译失败,错误代码为1

时间:2016-09-20 15:27:25

标签: python ubuntu-14.04 cvxpy

我正在尝试在Ubuntu 14.04上安装CVXpy,使用python 2.7.6,pip 1.5.4。我尝试了这里提出的方式: http://www.cvxpy.org/en/latest/install/index.html

它运行顺利,直到:nosetests cvxpy 我收到错误的地方:

ImportError:没有名为canonInterface的模块

所以我尝试安装包CVXcanon但命令 pip安装CVXcanon 出现以下错误:

/usr/bin/python -c "import setuptools, tokenize;
__file__='/tmp/pip_build_baptiste/CVXcanon/setup.py';
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
install --record /tmp/pip-_ehIzX-record/install-record.txt --single-version-externally-managed --compile 
failed with error code 1 in /tmp/pip_build_baptiste/CVXcanon

您是否有关于如何解决此问题的建议?谢谢。

0 个答案:

没有答案
相关问题