AttributeError:模块“tensorflow\u core.compat.v2”没有属性“内部”(一周前工作过?)

2024-09-30 01:18:53 发布

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

Image: Error Message and Script

我在Google Colab上工作,对Python没有太多经验。上面的图像包含来自https://github.com/smousavi05/EQTransformer的代码

EQTransformer安装的成套设备包括:

EQTransformer-0.1.59  
SecretStorage-3.3.1  
cryptography-3.4.7  
gast-0.2.2  
h5py-2.10.0  
jeepney-0.6.0  
keras-2.3.1  
keras-applications-1.0.8  
keyring-23.0.1  
pkginfo-1.7.0  
tensorboard-2.0.2  
tensorflow-2.0.0  
tensorflow-estimator-2.0.1  
tqdm-4.48.0  

运行EQTransformer安装时,我还遇到一个错误

ERROR: tensorflow-probability 0.12.1 has requirement gast>=0.3.2, but you'll have gast 0.2.2 which is incompatible.

我曾尝试安装较新的gast,但Tensorflow 2.0需要较旧的gast。 我还尝试安装tensorflow probability 0.9.0以兼容0.2.2 gast,但仍然存在相同的错误


Tags: and图像imagemessagetensorflow错误googlescript

热门问题