oraclelinux

Cannot import name 'tf_utils' when using importing keras

≯℡__Kan透↙ 提交于 2020-03-09 14:22:40
问题 I'm using Oracle Linux 7.7, and I installed python3.6 using yum (epel repos). Then I install tensorflow 1.5(since if it goes newer ver I got core dumped) and keras. If I'm importing tensorflow, I got nothing. But when I import keras, I got ImportError: cannot import name 'tf_utils' Here's the full output: $ python Python 3.6.8 (default, Aug 7 2019, 08:02:28) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39.0.1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import

Cannot import name 'tf_utils' when using importing keras

元气小坏坏 提交于 2020-03-09 14:22:11
问题 I'm using Oracle Linux 7.7, and I installed python3.6 using yum (epel repos). Then I install tensorflow 1.5(since if it goes newer ver I got core dumped) and keras. If I'm importing tensorflow, I got nothing. But when I import keras, I got ImportError: cannot import name 'tf_utils' Here's the full output: $ python Python 3.6.8 (default, Aug 7 2019, 08:02:28) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39.0.1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import