Okay folks, I was cruising along, and my tensorflow installation broke (I broke it, I’m sure). I’ve tried reinstalling it with pip, upgraded my python, tried again, and now my import tensorflow generates the following error. Can anyone help?
Traceback (most recent call last):
File “”, line 1, in
File “/home/kelly/tensorflow.py”, line 3, in
from opt_einsum.helpers import has_array_interface
ImportError: cannot import name ‘has_array_interface’ from ‘opt_einsum.helpers’ (/usr/local/lib/python3.9/site-packages/opt_einsum/helpers.py)
Never mind. There were a whole lot of version dependecies that had to be resolved. Used trash-cli to get rid of the stuff that was causing the problem. Then started with lower versions of numpy, utill one took. There were also some path problems in cygwin (I’m an old Linux guy, but for now I’m too lazy to do dual boot), so I used cmd.exe, started jupyter notebook, and everything went back to normal!
I’m impressed - the hours of work into the night, the number of conda environments and venv’s that didn’t install tf properly still make me cringe! Now have tf running on my GPU from a container. Haven’t touched cygwin for years