Traceback (most recent call last): File "/home/chb/anaconda3/envs/deepmd2/bin/dp", line 7, in <module> from deepmd.entrypoints.main import main File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/__init__.py", line 10, in <module> import deepmd.utils.network as network File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/utils/__init__.py", line 2, in <module> from .data import ( File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/utils/data.py", line 11, in <module> from deepmd.env import ( File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/env.py", line 459, in <module> op_module = get_module("deepmd_op") File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/env.py", line 430, in get_module raise RuntimeError(error_message) from e RuntimeError: This deepmd-kit package is inconsitent with TensorFlow Runtime, thus an error is raised when loading deepmd_op. You need to rebuild deepmd-kit against this TensorFlow runtime. WARNING: devtoolset on RHEL6 and RHEL7 does not support _GLIBCXX_USE_CXX11_ABI=1. See https://bugzilla.redhat.com/show_bug.cgi?id=1546704
时间: 2023-07-19 07:47:31 浏览: 295
这是一个报错信息,看起来是在使用 deepmd-kit 进行深度学习计算时出现了问题。根据错误信息,可能是因为 deepmd-kit 包与 TensorFlow 运行时不一致导致的。建议重新构建 deepmd-kit 以适应当前的 TensorFlow 运行时。此外,如果你的环境是 RHEL6 或 RHEL7,则需要注意 devtoolset 不支持 _GLIBCXX_USE_CXX11_ABI=1,可以查看 https://bugzilla.redhat.com/show_bug.cgi?id=1546704 了解更多信息。
相关问题
Traceback (most recent call last): File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/env.py", line 373, in get_module module = tf.load_op_library(str(module_file)) File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/tensorflow/python/framework/load_library.py", line 54, in load_op_library lib_handle = py_tf.TF_LoadLibrary(library_filename) tensorflow.python.framework.errors_impl.NotFoundError: /home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/op/libdeepmd_op.so: undefined symbol: _ZN6deepmd33prod_env_mat_a_nvnmd_quantize_cpuIdEEvPT_S2_S2_PiPKS1_PKiRKNS_10InputNlistEiS5_S5_iiffSt6vectorIiSaIiEE The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/chb/anaconda3/envs/deepmd2/bin/dp", line 7, in <module> from deepmd.entrypoints.main import main File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/__init__.py", line 10, in <module> import deepmd.utils.network as network File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/utils/__init__.py", line 2, in <module> from .data import ( File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/utils/data.py", line 11, in <module> from deepmd.env import ( File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/env.py", line 459, in <module> op_module = get_module("deepmd_op") File "/home/chb/anaconda3/envs/deepmd2/lib/python3.10/site-packages/deepmd/env.py", line 430, in get_module raise RuntimeError(error_message) from e RuntimeError: This deepmd-kit package is inconsitent with TensorFlow Runtime, thus an error is raised when loading deepmd_op. You need to rebuild deepmd-kit against this TensorFlow runtime. WARNING: devtoolset on RHEL6 and RHEL7 does not support _GLIBCXX_USE_CXX11_ABI=1. See https://bugzilla.redhat.com/show_bug.cgi?id=1546704
这是一个运行时错误,提示您的 deepmd-kit 包与 TensorFlow 运行时不一致,导致加载 deepmd_op 时发生错误。建议重新构建 deepmd-kit,使其与当前 TensorFlow 运行时一致。另外,警告信息提示您在 RHEL6 和 RHEL7 上使用 devtoolset 时可能会出现问题,具体信息可以参考 https://bugzilla.redhat.com/show_bug.cgi?id=1546704。
Traceback (most recent call last): File "/home/data/yf/anaconda/envs/Chorus2/bin/Chorus2/ChorusNGSfilter.py", line 7, in <module> import pyBigWig ModuleNotFoundError: No module named 'pyBigWig'
这是一个 Python 的错误信息,意思是在你的代码中使用了 pyBigWig 模块,但是 Python 环境中没有找到这个模块。你需要安装 pyBigWig 模块,可以使用 pip 命令进行安装:`pip install pyBigWig`。如果你使用的是 Anaconda 环境,也可以使用 conda 命令来安装:`conda install pybigwig`。安装完成后再运行程序即可。
阅读全文