https://kedro.org/ logo
#questions
Title
# questions
a

Andrew Stewart

04/14/2023, 6:10 PM
Anyone ever encounter being unable to import tensorflow in a kedro project even when any other module installed in the project can be imported? (this is all in a fresh docker build)
d

Deepyaman Datta

04/14/2023, 7:30 PM
Can you paste the error?
a

Andrew Stewart

04/14/2023, 7:57 PM
It
It's just
ModuleNotFoundError: No module named 'tensorflow'
I think I have it narrowed down to an M2 chip issue though
everything builds and tests fine in CI
just not on my local env
If I chuck my M2 out the window, it should fix the issue.
d

Deepyaman Datta

04/14/2023, 7:58 PM
Oh, you can do it on M2 also
a

Andrew Stewart

04/14/2023, 7:59 PM
Yeah I'm sure I can, I just have to figure out what is different in the setup
d

Deepyaman Datta

04/14/2023, 7:59 PM
This fixed it for me
a

Andrew Stewart

04/14/2023, 7:59 PM
Awesome, thanks I will def check that out
8 Views