(cleanenv) C:\Users\HP\Desktop\Ehsas Hub\R System\Recommendation_system>python app.py
Traceback (most recent call last):
File "C:\Users\HP\Desktop\Ehsas Hub\R System\Recommendation_system\cleanenv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 73, in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\HP\Desktop\Ehsas Hub\R System\Recommendation_system\app.py", line 2, in <module>
from routes import register_blueprints
File "C:\Users\HP\Desktop\Ehsas Hub\R System\Recommendation_system\routes\__init__.py", line 2, in <module>
from .recommend_routes import recommend_user_bp, recommend_genre_bp
File "C:\Users\HP\Desktop\Ehsas Hub\R System\Recommendation_system\routes\recommend_routes.py", line 8, in <module>
from services.recommend_service import get_recommendations_by_user
File "C:\Users\HP\Desktop\Ehsas Hub\R System\Recommendation_system\services\recommend_service.py", line 9, in <module>
from tensorflow.keras.models import load_model
File "C:\Users\HP\Desktop\Ehsas Hub\R System\Recommendation_system\cleanenv\lib\site-packages\tensorflow\__init__.py", line 40, in <module>
from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\HP\Desktop\Ehsas Hub\R System\Recommendation_system\cleanenv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 88, in <module>
raise ImportError(
ImportError: Traceback (most recent call last):
File "C:\Users\HP\Desktop\Ehsas Hub\R System\Recommendation_system\cleanenv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 73, in <module>
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors for some common causes and solutions.
If you need help, create an issue at https://github.com/tensorflow/tensorflow/issues and include the entire stack trace above this error message.
how to fix help mw