Problem running tensorflow in Pycharm - ImportError: DLL load failed: The specified module could not be found. #42440
Labels
stale
This label marks the issue/pr stale - to be closed automatically if no activity
stat:awaiting response
Status - Awaiting response from author
subtype:windows
Windows Build/Installation Issues
TF 2.3
Issues related to TF 2.3
type:build/install
Build and install issues
Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information
Describe the problem
Installation seems to work fine (successfully installed absl.....). But when I run import tensorflow as tf
Provide the exact sequence of commands / steps that you executed before running into the problem
import tensorflow as tf
Any other info / logs
C:\Users\D'AVON\PycharmProjects\Test\venv\Scripts\python.exe C:/Users/D'AVON/PycharmProjects/Test/start.py
Traceback (most recent call last):
File "C:\Users\D'AVON\PycharmProjects\Test\venv\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/D'AVON/PycharmProjects/Test/start.py", line 1, in
import tensorflow as tf
File "C:\Users\D'AVON\PycharmProjects\Test\venv\lib\site-packages\tensorflow_init_.py", line 41, in
from tensorflow.python.tools import module_util as module_util
File "C:\Users\D'AVON\PycharmProjects\Test\venv\lib\site-packages\tensorflow\python_init.py", line 40, in
from tensorflow.python.eager import context
File "C:\Users\D'AVON\PycharmProjects\Test\venv\lib\site-packages\tensorflow\python\eager\context.py", line 35, in
from tensorflow.python import pywrap_tfe
File "C:\Users\D'AVON\PycharmProjects\Test\venv\lib\site-packages\tensorflow\python\pywrap_tfe.py", line 28, in
from tensorflow.python import pywrap_tensorflow
File "C:\Users\D'AVON\PycharmProjects\Test\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 83, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\D'AVON\PycharmProjects\Test\venv\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.
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: