[英]pytables ImportError: DLL load failed while importing utilsextension
我的代碼包含from tables import NaturalNameWarning
導致以下錯誤:
from tables import NaturalNameWarning
Traceback (most recent call last):
Input In [4] in <cell line: 1>
from tables import NaturalNameWarning
File ~\AppData\Roaming\Python\Python39\site-packages\tables\__init__.py:45 in <module>
from .utilsextension import get_hdf5_version as _get_hdf5_version
ImportError: DLL load failed while importing utilsextension: The specified module could not be found.
如果我在Anaconda Prompt (Anaconda3)中運行conda list pytables
它會返回:
# packages in environment at C:\Users\JB\.conda\envs\gloria:
#
# Name Version Build Channel
pytables 3.7.0 py39h9d4cd68_0 anaconda
有誰知道我可以如何解決這個錯誤?
顯然這個問題與 PyTables 版本有關。 我能夠通過安裝 PyTables v3.6.1 解決這個問題。
來源: https ://github.com/scverse/scanpy/issues/2108#issuecomment-1013605391
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.