DLL load failed A dynamic link library DLL initialization routine failed

0 votes

Hi Guys,

I tried to import tensorflow module, but It shows me the below error.

ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

How can I solve this error?

Apr 23, 2020 in Machine Learning by akhtar
• 38,260 points
5,560 views

1 answer to this question.

0 votes

Hi@akhtar,

This problem is related to version. Follow the below given steps.

  • Create one environment and install latest version of python.

$ conda create -n tensorflow pip python=3.6
  • Use tensorflow environment.

$ activate tensorflow
  • Install tensorflow

$ pip install --ignore-installed --upgrade tensorflow==1.9
answered Apr 23, 2020 by MD
• 95,460 points

Related Questions In Machine Learning

0 votes
1 answer

How do I create a decision tree?

Let us consider the following example. Suppose a ...READ MORE

answered May 13, 2019 in Machine Learning by Fatima
900 views
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,434 views
0 votes
1 answer
0 votes
1 answer

How to load a model from an HDF5 file in Keras?

Hi@akhtar, If you stored the complete model, not ...READ MORE

answered Jul 14, 2020 in Machine Learning by MD
• 95,460 points
6,360 views
+1 vote
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP