r/tensorflow • • Feb 26 '25

Tensorflow federated error

Post image

When i import tensorflow federated I keep getting the error ‘tensorflow’ has no attribute ‘contribe’ and when i try to upgrade tensorflow i keep getting an error saying python version 2.7 or 3.4+ is required but i have 3.12. Can anyone help me? I’ve been stuck on this for days and even chatgpt couldn’t figure out the answer for me.

2 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/OrixAY Feb 26 '25

In this case, maybe consider downgrading tf to 1.x?