fawkes icon indicating copy to clipboard operation
fawkes copied to clipboard

ImportError: cannot import name 'Progbar' from 'keras.utils', pip cannot install v1.0.4

Open PorcelainMouse opened this issue 1 year ago • 1 comments

When I run pip3 install --user fawkes and then fawkes -d . --mode=low, I get this error:

module 'keras.preprocessing.image' has no attribute 'img_to_array'

I looked up that error and it seemed like TF 2.10 might be too new. So I downgraded it to 2.8. Now, I get:

ImportError: cannot import name 'Progbar' from 'keras.utils'

Previous issue #148 references requirements.txt file, but I cannot find it.

Also, there aren't any older versions of keras & tenserflow in pipy than 2.8. So, I'm not sure what version of keras could be the recommended one. I don't think the instructions are right; pip install doesn't produce a usable configuration. It installed fawkes version 1.0.3.

When I try to upgrade fawkes to v1.0.4, pip complains that it requires Python < 3.8 and TF == 2.4.1. I'm not sure how to get these easily. Manually install everything?

I used fawkes about a year ago and it worked fine. Guessing it was Python3.8?

PorcelainMouse avatar Nov 07 '22 06:11 PorcelainMouse