pyTables 3.4.2需要什么版本的GCC

2024-05-23 21:49:52 发布

您现在位置:Python中文网/ 问答频道 /正文

背景:

我试图将^{}^{}结合使用,以便将^{}文件转换为hdf5文件。你知道吗

我只能使用gcc 4.4.7,因此如果需要gcc升级,就无法升级到ROOT6。你知道吗

问题:

我已经通过conda在python2.7.13环境中安装了pyTables。当我导入表时,会得到如下结果:

>>> import tables
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/phys/villaa/python/anaconda3/envs/py27/lib/python2.7/site-packages/tables/__init__.py", line 90, in <module>
   from .utilsextension import (
ImportError: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/phys/villaa/python/anaconda3/envs/py27/lib/python2.7      /site-packages/tables/utilsextension.so)
 >>>

我在谷歌上搜索了一下这个错误和am now tentatively considering this to be a compiler issue。所以我想知道我是如何找到gccpyTables的要求的,因为到目前为止我还没有找到任何关于这方面的文档。pyTables的gcc依赖性要求是什么?你知道吗

我也看过this post,但不能完全理解它。似乎我想在我的例子中使用Anaconda的libstdc++,因为我无法更新我的系统编译器。似乎我的conda环境声称其编译器值高于我的系统:

(py27) cdms3:~ villaa$conda list |grep gcc
gcc                       4.8.2                        25    nlesc
libgcc                    7.2.0                h69d50b8_2  
libgcc-ng                 7.2.0                h7cc24e2_2  
root                      6.04             py2.7_gcc4.8.2    nlesc

Tags: 文件inimporthometables环境linepytables