jeffheaton / t81_558_deep_learning

T81-558: Keras - Applications of Deep Neural Networks @Washington University in St. Louis
https://sites.wustl.edu/jeffheaton/t81-558/
Other
5.72k stars 3.03k forks source link

Running instalation step by step #154

Closed ghost closed 1 year ago

ghost commented 1 year ago

After running instalation of tensorflow 3. time i stil have problem with tensorflow


ModuleNotFoundError Traceback (most recent call last) Cell In [7], line 4 1 # What version of Python do you have? 2 import sys ----> 4 import tensorflow.keras 5 import pandas as pd 6 import sklearn as sk

ModuleNotFoundError: No module named 'tensorflow'

jeffheaton commented 1 year ago

My apologies, but I cannot offer help for individual installations. From that error, it appears you do not have the tensorflow package installed.

ghost commented 1 year ago

problem is with numpy library in conda enviroment.

Downloading numpy-1.23.4-cp39-cp39-macosx_11_0_arm64.whl (13.4 MB) solved problem with import

ghost commented 1 year ago

and in tensorflow virtual enviroment was bad version of keras installed with tensorflow-macos.