【发布时间】:2016-03-14 10:53:42
【问题描述】:
我正在谷歌的云计算引擎上运行一个 ubuntu 14.04 实例。我已经安装了 anaconda (python 3.5.0) 并想通过 pip 安装其他软件包并手动升级一些。
pip install arch
我收到以下错误
Command "/opt/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-10ckqqqa/arch/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-tsgsc6n0-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-10ckqqqa/arch/
其他软件包(seaborn、pymysql)通过 pip 安装没有问题。首先我认为它与arch 包有关,但我也注意到更新pip install numpy --upgrade 也会引发错误,并出现以下错误:
Command "/opt/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-5hogbswt/numpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-xrahrzqb-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-5hogbswt/numpy/
问题的根源很可能与库无关,我在这里错过了什么才能让实例正常工作?
【问题讨论】:
-
install-record.txt文件中有什么内容? -
我发现了问题,对此感到抱歉。