New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tensorflow 2.1.0 - DLL load failed #35618
Comments
@ReinforcedMan |
@ravikyram When trying to build the package like you linked, I get an error in the c++ code when building with bazel. I don't have any more days to allocate to this and am thus giving up. I'll wait for a clean 2.1.0 release. Thank you for your help. |
I'm reopening since the problem still appears with the version of tensorflow 2.1.0 on pipy that you get with
I have cuda 10.1 and cudnn 7.6.5 for cuda 10.1. |
Can you try using |
I tried both
but neither seem to be working for me ... Also: Maybe something of note is that in the test build of the pipy version the CUPTI path is set as pointing to 10.1/../libx64, where it seems to have been renamed to 10.1/../lib64 without the x in the cuda installation. |
i fix this by downgrading to
|
@ReinforcedMan can you make a symlink from |
@mihaimaruseac I already added the two versions in my Path variable, I don't think that's the cause of it. I was just saying that in the tensorflow test build I think you guys might have the wrong path, but it still works as you also give the CUDA/v10.0/../libx64 in addition to the 10.1. Sorry for being unclear. |
I am having the same issue when I pip install tensorflow. I do not have an nvidia graphics card and want to use a CPU tensorflow, NOT GPU. I get: ImportError: DLL load failed: The specified module could not be found. |
I am using an HP laptop from 2 years ago. |
Is there a workaround for this issue?? |
@nectario try |
This happens even when I install tensorflow-cpu. Below is the complete stack trace: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): 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 |
The issue seems to be the same and it happens on two completely different computers of mine. |
Please identify which DLL fails to load and please open a different issue as they look to be different |
Done. |
I posted my solution in the @nectario post. |
Please, let us know if the issue still persists. Thanks! |
@ReinforcedMan Are you using vs2015 or a higher version? |
It also solved my problem!! |
Installing the redistributable didn't solve the error for me. Does anyone else have the same problem? |
There are at least 4 possible scenarios:
Please identify which is your case and open a new issue only if there is a fifth case |
I had similar DLL load failed error when I was importing tensorflow 2.1 in my latest Anaconda environment. I tried several times from creating the virtual environment to installation tensorflow 2.1 without success. The installation process went through fine without any error message. The tensorflow 2.0 works fine but not tensorflow 2.1. Thanks for any insight! |
Can you please raise a new issue by filling build/installation issue template.Thanks! |
Sure! Can you forward me the link that I shared the issue? I could not easily find my comments and don't want to recreate the wheels. Thanks! Bin
On Monday, February 10, 2020, 12:25:35 AM EST, ravikyram <notifications@github.com> wrote:
@bduan007
Can you please raise a new issue by filling build/installation issue template.Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I don't think this is closed. Tensorflow PyPI distribution should not rely on a manual install of some Microsoft software utility that needs admin rights to install. (Scalability and so) |
We cannot bundle everything ourselves (especially so since some packages have licenses prohibiting bundling together). So you have to install dependencies out of bound. |
I ran through this issue too during an update of mt TF environment. The installation of latest Visual C redistribuable tools solved the issue for me too obviously. |
problem solved! |
Solution is to download the latest microsoft visual c++ redistributable from here. Locking conversation to prevent spammy "works for me" and fake solutions of "downgrade to TF 2.0" |
System information
Describe the problem
I installed the pre-release using
pip install tensorflow-gpu==2.1.0rc2
. I installedCUDA 10.1 with cuDNN 7.6.5. When runningimport tensorflow
, I get aIt probably means there is an issue with the CUDA installation, or a bug somewhere. Tensorflow 2.1.0 is supposed to be compatible with CUDA 10.1.
In my system environment variables, path contains:
Source code / logs
The text was updated successfully, but these errors were encountered: