Tensorflow ImportError (Unknown Location)

527 views Asked by At

When trying to run a program on JupyterLab within an OpenVino environment on my Raspberry Pi 4, I get the following error when I try to import Tensorflow:

ImportError: cannot import name 'context' from 'tensorflow.python.eager' (unknown location)

This program was having no issue importing anything just the other day, so I don't know what went wrong, nor how to remedy this issue.

Other pertinent information is that I'm running Python 3.7 and Tensorflow 2.3

Any help with this is appreciated.

1

There are 1 answers

0
Sam Skinner On BEST ANSWER

Well I ended up resolving this issue. Turns out it was due to an issue in the cloning process. Created a new backup and restored from this new backup and the error went away.

Thanks for the help everyone.