pip-review ::错误:命令错误,退出状态为1:

时间:2019-11-13 21:25:26

标签: python-3.x module pip

我想更新所有Python模块。

在StackOverflow上,我发现在此page上我认为是最好的解决方案。

不幸的是,如果我跑步:

$ pip install pip-review
$ pip-review --local --interactive

Python运行几分钟,下载并收集模块更新,然后由于错误而皇家失败:

    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-p9q7aft7/tables/setup.py'"'"'; __file__='"'"'/tmp/pip-install-p9q7aft7/tables/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-p9q7aft7/tables/pip-egg-info
         cwd: /tmp/pip-install-p9q7aft7/tables/
    Complete output (15 lines):
    /tmp/H5closecy5usdpw.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
     main (int argc, char **argv) {
     ^
    /tmp/H5closecy5usdpw.c: In function ‘main’:
    /tmp/H5closecy5usdpw.c:2:5: warning: implicit declaration of function ‘H5close’ [-Wimplicit-function-declaration]
         H5close();
         ^
    /usr/bin/ld: cannot find -lhdf5
    collect2: error: ld returned 1 exit status
    * Using Python 3.5.2 (default, Oct  8 2019, 13:06:37)
    * USE_PKGCONFIG: True
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

我正在搜索此错误,但是对我来说这似乎是一个普遍错误,我不知道要调试该问题的方向。

0 个答案:

没有答案