When I call any function in python3.6, I get the error below; however, it works fine in python3.4. Any idea?
import tensorflow as tf
tf.Session()
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'tensorflow' has no attribute 'Session'
Here is my System information
I meet the problem too. Reinstall TensorFlow solve my ploblem.
pip uninstall tensorflow-gpu
pip install tensorflow-gpu
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With