arunponnusamy / gender-detection-keras

Gender detection (from scratch) using deep learning with keras and cvlib.
http://arunponnusamy.com
MIT License
184 stars 68 forks source link

DLL load failed: The specified module could not be found. #27

Open bissonauth opened 4 years ago

bissonauth commented 4 years ago

Using TensorFlow backend. Traceback (most recent call last):

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in from tensorflow.python._pywrap_tensorflow_internal import *

ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Users\HP.spyder-py3\autosave\detect_gender.py", line 4, in from keras.preprocessing.image import img_to_array

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\keras__init__.py", line 3, in from . import utils

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\keras\utils__init__.py", line 6, in from . import conv_utils

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\keras\utils\conv_utils.py", line 9, in from .. import backend as K

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\keras\backend__init__.py", line 1, in from .load_backend import epsilon

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\keras\backend\load_backend.py", line 90, in from .tensorflow_backend import *

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in import tensorflow as tf

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\tensorflow__init__.py", line 41, in from tensorflow.python.tools import module_util as _module_util

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\tensorflow\python__init__.py", line 40, in from tensorflow.python.eager import context

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\tensorflow\python\eager\context.py", line 35, in from tensorflow.python import pywrap_tfe

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\tensorflow\python\pywrap_tfe.py", line 28, in from tensorflow.python import pywrap_tensorflow

File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 83, in raise ImportError(msg)

ImportError: Traceback (most recent call last): File "C:\Users\HP\anaconda3\envs\deeplearning\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in from tensorflow.python._pywrap_tensorflow_internal import * ImportError: DLL load failed: The specified module could not be found.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.

bissonauth commented 4 years ago

I already have tensorflow installed and its version is 2.3. i keep on getting this error. please help!!

File "C:\Users\HP\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in from tensorflow.python._pywrap_tensorflow_internal import *

ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Users\HP\anaconda3\lib\site-packages\keras__init__.py", line 3, in from tensorflow.keras.layers.experimental.preprocessing import RandomRotation

File "C:\Users\HP\anaconda3\lib\site-packages\tensorflow__init__.py", line 41, in from tensorflow.python.tools import module_util as _module_util

File "C:\Users\HP\anaconda3\lib\site-packages\tensorflow\python__init__.py", line 40, in from tensorflow.python.eager import context

File "C:\Users\HP\anaconda3\lib\site-packages\tensorflow\python\eager\context.py", line 35, in from tensorflow.python import pywrap_tfe

File "C:\Users\HP\anaconda3\lib\site-packages\tensorflow\python\pywrap_tfe.py", line 28, in from tensorflow.python import pywrap_tensorflow

File "C:\Users\HP\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 83, in raise ImportError(msg)

ImportError: Traceback (most recent call last): File "C:\Users\HP\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in from tensorflow.python._pywrap_tensorflow_internal import * ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Users\HP.spyder-py3\autosave\detect_gender.py", line 4, in from keras.preprocessing.image import img_to_array

File "C:\Users\HP\anaconda3\lib\site-packages\keras__init__.py", line 5, in raise ImportError(

ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow