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,170 points
2,144 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,060 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
251 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 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,851 views
0 votes
0 answers
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,060 points
1,284 views