This error occurs when you try to access the __version__ attribute of the tensorflow module, but the attribute is not available in the current version of TensorFlow that you are using.

To fix this error, you can try upgrading your TensorFlow installation to the latest version by running the following command:

pip install --upgrade tensorflow

After upgrading, you should be able to access the __version__ attribute of the tensorflow module without any errors.

AttributeError module tensorflow has no attribute __version__

原文地址: https://www.cveoy.top/t/topic/gvsR 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录