Hello,
When ever i try to import anything related to tensflow i get this error. I specifically want to import:
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Flatten
from tensorflow.keras.optimizers import Adam
Also, when i press the remove botton on the tensflow package, nothing happens.
Help.
Go to shell and do either
pip install tensorflow
Or poetry add tensorflow
After this, test whether you get the error again
1 Like
Tensorflow is a rather large package, there’s a chance it wasn’t properly installed due to the storage restraint on Repls. If this is the case, unfortunately, you’ll likely have to find another environment to run your code in the short term. (In the long term, however, Replit is working on adding ‘Infinity Drive’ which will likely enable you to purchase more storage)
3 Likes