otaha178 / Emotion-recognition

Real time emotion recognition
MIT License
1.08k stars 363 forks source link

ModuleNotFoundError: No module named 'tensorflow.python' #36

Open JSdheerajkumar opened 4 years ago

AgnesLeem commented 4 years ago

conda install tensorflow

Murmelmaus commented 3 years ago

Hi, I have the same problem. I am working with Anaconda, py3.8. Installed are tensorflow 2.4.0, openscv-python 4.5.1.48, keras 2.4.3, pandas 1.2.0, numpy 1.19.15, imutils 0.5.3, scikit_learn 0.24.0. When I run real_time_video.py I get the following message: Using TensorFlow backend. Traceback (most recent call last): File "D:/Repos-Adriana/Emotion-recognition-master/real_time_video.py", line 1, in from keras.preprocessing.image import img_to_array File "C:\ProgramData\Anaconda3\lib\site-packages\keras__init.py", line 3, in from . import utils File "C:\ProgramData\Anaconda3\lib\site-packages\keras\utils\init.py", line 6, in from . import conv_utils File "C:\ProgramData\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in from .. import backend as K File "C:\ProgramData\Anaconda3\lib\site-packages\keras\backend\init__.py", line 1, in from .load_backend import epsilon File "C:\ProgramData\Anaconda3\lib\site-packages\keras\backend\load_backend.py", line 90, in from .tensorflow_backend import * File "C:\ProgramData\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in import tensorflow as tf ModuleNotFoundError: No module named 'tensorflow'

Is there already a solution for that? Many thanks!