Tensorflow and Pyth...
 
Notifications
Clear all

Tensorflow and Python 3.13

1 Posts
2 Users
0 Reactions
248 Views
0
Topic starter

Hello, I’m at video 180, and I’m unable to import Keras in the line "from keras.models import load_model". I installed Keras 3.9, but it requires TensorFlow, and TensorFlow is not compatible with Python 3.13, which I have on my system and which was used for the training up to video 180.

Do you have a solution? Or do I need to install Python 3.11 and recreate the virtual environment, reinstall npm, Vite, and all the libraries, etc.?

Thanks,

Emmanuel

1 Answer
0
Emmanuel GUERIN, 
Since TensorFlow does not currently support Python 3.13, you need to recreate a virtual environment with Python 3.11. This is the most reliable solution, as other methods may not work properly. Recreating the environment ensures compatibility and avoids potential issues.
Share: