Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

递归依赖 pytables 引起 pip 安装失败 #131

Open
wohenbushuang opened this issue Dec 14, 2021 · 0 comments
Open

递归依赖 pytables 引起 pip 安装失败 #131

wohenbushuang opened this issue Dec 14, 2021 · 0 comments

Comments

@wohenbushuang
Copy link

wohenbushuang commented Dec 14, 2021

Windows python 3.9,安装期间报错

Collecting tables>=3.4.4
  Downloading https://mirror.sjtu.edu.cn/pypi-packages/2b/32/847ee3f521aae6a0be380d923a736162d698586f444df1ac24b98c65025c/tables-3.6.1.tar.gz (4.6 MB)
     |████████████████████████████████| 4.6 MB 6.4 MB/s
    ERROR: Command errored out with exit status 1:
     command: 'S:\ProgramData\Miniconda3\envs\sci\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\admin\\AppData\\Local\\Temp\\pip-install-c0kb2rzt\\tables_0ddda4f4fb6548cc915d97e1a8339ed0\\setup.py'"'"'; __file__='"'"'C:\\Users\\admin\\AppData\\Local\\Temp\\pip-install-c0kb2rzt\\tables_0ddda4f4fb6548cc915d97e1a8339ed0\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\admin\AppData\Local\Temp\pip-pip-egg-info-osgq2ar6'
         cwd: C:\Users\admin\AppData\Local\Temp\pip-install-c0kb2rzt\tables_0ddda4f4fb6548cc915d97e1a8339ed0\
    Complete output (10 lines):
    H5close16_k8rkh.c
    C:\Users\admin\AppData\Local\Temp\H5close16_k8rkh.c(2): warning C4013: “H5close”未定义;假设外部返回 int
    LINK : fatal error LNK1181: 无法打开输入文件“hdf5.lib”
    * Using Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)]
    * USE_PKGCONFIG: False
    * Found conda env: ``S:\ProgramData\Miniconda3\envs\sci``
    .. 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.

PyTables/PyTables#885

目前解决方案:pip install tables有问题,先执行conda install pytables,再pip install meteva

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant