Comments (3)
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.
from ml-fairness-gym.
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 "", line 1, in
File "/python3.8/site-packages/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/python3.8/site-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/Users/ali/Documents/Reinforcement_Learning/ml-fairness-gym/lib/python3.8/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/tensorflow/python/pywrap_tensorflow_internal.py", line 114
def TFE_ContextOptionsSetAsync(arg1, async):
Do you think this might be because i have python 3.8?
from ml-fairness-gym.
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?
from ml-fairness-gym.
Related Issues (11)
- Update folders or imports in quick start example HOT 1
- Update folders or imports in quick start HOT 2
- Examples link should be updated in the documentation
- Assertion Error when running quickstart example HOT 2
- Add .gitignore
- Errors when running tests and lending_demo.py HOT 2
- Test issue please ignore HOT 1
- PDF of the "Fairness is not Static" paper?
- Links in Environments readme file is broken HOT 1
- Error While running attention_allocation_experiment in acm_fat_2020 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ml-fairness-gym.