Skip to content
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

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

Closed
kukuquack opened this issue Sep 6, 2020 · 12 comments
Closed
Assignees
Labels
stat:awaiting response Status - Awaiting response from author subtype:windows Windows Build/Installation Issues type:build/install Build and install issues

Comments

@kukuquack
Copy link

System information

  • just written import tensorflow
  • Windows 10
  • TensorFlow installed from pip
  • TensorFlow version: Latest
  • Python version: 3.7.3
  • GPU model and memory: I am using cpu version

Describe the problem

I have been stuck on this problem forever: https://pastebin.com/n7y5cmEQ

I have downloaded tensorflow on an i7-5600u, 16 gb ram device.

If I am missing any info please tell me

Thanks

@bhack
Copy link
Contributor

bhack commented Sep 6, 2020

Can you check if you are compliat with Windows requirements at https://www.tensorflow.org/install/pip?hl=en#windows

@kukuquack
Copy link
Author

I don't have the c++ thing, but I am using python,
also i don't know what is the manylinux2010 support

@bhack
Copy link
Contributor

bhack commented Sep 6, 2020

Can you try to install TF following the guide steps?

@Saduf2019
Copy link
Contributor

@kukuquack
What is make/model of your cpu?
I suspect your cpu model does not support AVX instructions sets.See hardware requirements
Make sure to download the latest microsoft visual c++ redistributable from here.
.Also, please follow the instructions from to install from Tensorflow website.

Please, check Your CPU/Python is on 32 bits?Please, refer #36167 and see if it helps you.
Please, refer similar issue #42724 #42440 #36151 #36138 #36054 #36045 #36020 #36003 #35988 #35903 #35880 #35865 #35805 #35789 #35773 #35772 #35767 #35766 #35749 #35721 #35618 #35204

@Saduf2019 Saduf2019 added stat:awaiting response Status - Awaiting response from author subtype:windows Windows Build/Installation Issues type:build/install Build and install issues labels Sep 7, 2020
@kukuquack
Copy link
Author

So I need to install all 2015,2017,2019 versions of the redistributable?

@bhack
Copy link
Contributor

bhack commented Sep 7, 2020

@kukuquack Yes you can install 2019.

Also:

Requires Python 3.5–3.8, pip and venv >= 19.0
Make sure long paths are enabled on Windows.
Install the 64-bit Python 3 release for Windows (select pip as an optional feature).

@kukuquack
Copy link
Author

For some reason I can't find gpedit.msc on run.

@bhack
Copy link
Contributor

bhack commented Sep 7, 2020

@kukuquack
Copy link
Author

import tensorflow
2020-09-07 14:26:43.159687: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-09-07 14:26:43.181952: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

@kukuquack
Copy link
Author

It works now thanks!

@Saduf2019
Copy link
Contributor

@kukuquack
Thank you for your update, please feel free to move the ticket to closed status if resolved.

@google-ml-butler
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting response Status - Awaiting response from author subtype:windows Windows Build/Installation Issues type:build/install Build and install issues
Projects
None yet
Development

No branches or pull requests

3 participants