-
Notifications
You must be signed in to change notification settings - Fork 11
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
ModuleNotFoundError: No module named 'keras' and 'tensorflow' #9
Comments
First, we may check the Python executor jupyter use by: import sys
print(sys.executable) make sure that jupyter use the environment where packages installed. If this is done then restart the kernel and maybe you could try: import tensorflow as tf
from tensorflow import keras
print(tf.__version__) |
from the information you provided, the packages( However, from To fix this, you now have installed the kernelspec ipython kernel install --user --name=tfkan next, remember to change the jupyter notebook kernel you use from right upper corner: or click the menu from top If you can not find your Hope this can help you, best🤗 |
Thanks for your assistance! Good luck to you! |
I can install tfkan correctly with jupyter notebook, but I can't import it
![image](https://github.com/user-attachments/assets/2df1656c-e558-4375-b4bc-497117c6ebf8
The text was updated successfully, but these errors were encountered: