tensorflow / tensorflow

An Open Source Machine Learning Framework for Everyone
https://tensorflow.org
Apache License 2.0
186.54k stars 74.33k forks source link

Tensorflow DLL (Dynamic Link Library) Load Failure #79041

Closed HappyStackCoder closed 3 days ago

HappyStackCoder commented 3 weeks ago

Here's the error:

ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed. Failed to load the native TensorFlow runtime.

Major Action: Multiple versions of tensorflow and python have already been executed yet the error pertains.

Tools Used: Django, Conda (for virtual env)

Venkat6871 commented 3 weeks ago

Hi @HappyStackCoder , Apologies for the delay, Could you please provide the tensorflow and the compatible version which you are trying to install. Also there are at least 3 possible scenarios:

You need to install the MSVC 2019 redistributable Your CPU does not support AVX2 instructions Your CPU/Python is on 32 bits There is a library that is in a different location/not installed on your system that cannot be loaded. https://github.com/tensorflow/tensorflow/issues/61887 Thank you!

Fahadxx commented 3 weeks ago

anyone found a proper solution for the CPU not supporting AVX2?

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

github-actions[bot] commented 3 days ago

This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.