-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't run main.py, No module named 'keras.src.engine' #77
Comments
It seems tensorflow 2.9.1 is not compatible with python 3.11. It is in python 3.9 though. What You can do is actually install a different tensoflow version, e.g. 2.9.0 or 2.10 maybe |
Tried as well, it seems that I can't install any version below 2.13, with this one it doesn't work |
ok. then download python 3.9. It should work! |
Got 3.9 and set it up , this is what I've got: |
For me, situation is the same |
What is your operating system? Are you using windows? |
Like i say in first post, i am with macos and the error is with 2.16 tensorflow, after that i downgrade python to 3.9.6 and try to reinstall with tensorflow 2.9.1 but same error like this: |
Don't bother with it ,I have tried to do the same with macos M2 , issue is persistent even with different python verions (used 3.11 first then 3.9). Tried as well to install python 3.9 and set it up on my parallel win 11 ,it will not work. Changed PC with windows on it ,it works great haha |
I faced the same issue ! I used Homebrew to install and test differents versions of python but nothing changed. My hypothesis is that the version of python from Xcode is a minimal version or a version that is too old |
Same error here. macOS M2 and I can't figure out a solution. installed pyenv and made the v3.9.18 global and still does not work. You got the solution? |
No, still cant run it, try to reinstall everything fresh, but same error :( |
Fix that I’ve found that it works is: |
Yes you’re right. Yesterday after endlessly trying to make it work on Mac, just switched to a Windows laptop and worked perfectly. |
Got the solution for Mac users! Use this command: pip install tensorflow-macos==2.9.1 |
worked like a charm! thanks! |
Hello, I am using macOS Sonoma M1chip, my python version is 3.11.4 ia m installing all modules from requirements navigate to folder but can't run it some problem with kerbs
P.S When try to install this version
tensorflow~=2.9.1
tensorflow-addons~=0.17.1
I get this error
ERROR: Could not find a version that satisfies the requirement tensorflow-addons==0.17.1 (from versions: 0.21.0, 0.22.0, 0.23.0)
ERROR: No matching distribution found for tensorflow-addons==0.17.1
ERROR: Could not find a version that satisfies the requirement tensorflow==2.9.1 (from versions: 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0, 2.15.1, 2.16.0rc0, 2.16.1)
ERROR: No matching distribution found for tensorflow==2.9.1
then I install latest version on both modules
Please help me if you can
Thank You!
The text was updated successfully, but these errors were encountered: