【问题标题】:Error installing tables via pip通过 pip 安装表时出错
【发布时间】:2016-04-06 20:38:56
【问题描述】:

我想按如下方式安装表(我没有 sudo 权限):

pip install --user tables

我收到以下错误:

Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-pWg1M_/tables/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-mOibUT-record/install-record.txt --single-version-externally-managed --compile --user failed with error code 1 in /tmp/pip-build-pWg1M_/tables Storing debug log for failure in /home/hudson/pg/fkgm22/.pip/pip.log

我可以用这种方法安装其他包,但不能安装表...有什么想法吗?

谢谢

【问题讨论】:

    标签: python pandas pip pytables


    【解决方案1】:

    您可以检查 pip 在 /home/hudson/pg/fkgm22/.pip/pip.log 中提到的日志,看看出了什么问题。我想你会得到一个更详细的错误消息,你可以尝试分析。

    【讨论】:

    • 这是错误: InstallationError: Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-1euVua/tables/setup.py';exec (compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-7AQAHv-record/install-record.txt --single-version-externally-managed --compile --user 失败,错误代码 1 在 /tmp/ pip-build-1euVua/tables