Open ali-chaudhry8 opened 4 years ago
Hi Ali, tensorflow 1.15 is the final version of tensorflow 1.x and it looks like it is supported. Can you try to follow the instructions here? https://www.tensorflow.org/install/pip?lang=python3#older-versions-of-tensorflow
pip install --upgrade tensorflow==1.15
seems to work fine for me.
Thanks Yoni. When I install tensorflow, it says requirements satisfied but when I import tensorflow it gives a syntax error: Traceback (most recent call last):
File "
Do you think this might be because i have python 3.8?
Hi Ali,
Yes that may be the problem. From the Tensorflow installation website (https://www.tensorflow.org/install/pip), it seems the supported versions of python are 3.5-3.7.
Can you try installing and running with python 3.7?
Do you have a github version of this ml-fairness-code with tensorflow 1.8 or later? Currently requirements.txt uses tensorflow==1.15 which is not available for pip installation anymore. I have tensorflow 1.8 but that (obviously) creates a lot of dependancies issues. I am struggling to reproduce the results.
Please let me know.
Many thanks, Ali