Anaconda下安装tensorflow成功后import出现错误:
AttributeError: module ‘tensorflow‘ has no attribute ‘compat‘
很多人反映这个问题,应该是conda的问题,换pip安装就行了
module ‘tensorflow‘ has no attribute ‘compat‘
最新推荐文章于 2024-12-12 20:07:24 发布
本文解决了一个常见的问题:使用Anaconda安装TensorFlow后,在Python中尝试导入TensorFlow时遇到AttributeError,提示找不到compat属性。文章指出这可能是由于Anaconda环境配置导致的问题,并提供了解决方案——改用pip进行安装。
643

被折叠的 条评论
为什么被折叠?



