Added AtributeError to address issue #1183

This commit is contained in:
Luca Cappelletti 2021-06-15 08:17:48 +02:00 committed by Casper da Costa-Luis
parent d2a6ec2ab8
commit e56cc12fbf
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ from .auto import tqdm as tqdm_auto
try:
import keras
except ImportError as e:
except (ImportError, AttributeError) as e:
try:
from tensorflow import keras
except ImportError: