'tensorflow._api.v1.compat.v2' has no attribute '__internal__'
时间: 2023-10-14 10:05:16 浏览: 211
问题解决:module 'tensorflow.compat.v1' has no attribute '
5星 · 资源好评率100%
This error occurs when you are trying to access an attribute or method that doesn't exist in the specified module or package. In this case, 'tensorflow._api.v1.compat.v2' does not have an attribute named '__internal__'.
To resolve this error, you can check if you have written the correct attribute name or if the attribute exists in the module or package you are trying to access. You can also try importing the required module or package again or reinstalling it.
阅读全文