当前位置:网站首页>[dynamic link library (DLL) initialization example program failed "problem]
[dynamic link library (DLL) initialization example program failed "problem]
2022-07-28 20:26:00 【Tianchi Xiaotian】
Dynamic link library (DLL) Failed to initialize the example program ” problem
List of articles
- Dynamic link library (DLL) Failed to initialize the example program ” problem
- One 、 Check out the current version anoconda Corresponding available tensorflow
- Two 、 Above unresolved , View the current CPU and cuda Whether the requirements are met
- 3、 ... and 、 Above unresolved , Replace source whl file
- Four 、 Above unresolved , Download lower version tensorflow1.0(1.10 The following versions ) in the future , Execute the following commands in turn :
- 5、 ... and 、 There is also a risky solution .
- 6、 ... and 、 None of the above has been solved , Please change to a higher configuration CPU
One 、 Check out the current version anoconda Corresponding available tensorflow
Other links and passes Anaconda The environment is configured in the same way ;
Just installing TensorFlow Do not use directly pip install --upgrade --ignore-installed tensorflow-gpu command ,
But according to anaconda search -t conda tensorflow, Will show the currently available tensorflow edition , Demand selection TensorFlow Version installed .
————————————————
Carry out orders anaconda show conda-forge/tensorflow Get the installation command of the corresponding version conda-forge/tensorflow Select the version name for
Execute the installation command obtained in the above figure conda install --channel http://conda.anaconda.org/conda-forge tensorflow, Installation starts
Two 、 Above unresolved , View the current CPU and cuda Whether the requirements are met
3、 ... and 、 Above unresolved , Replace source whl file
Tensorflow Installed in the windows It shows ImportError: DLL load failed: Dynamic link library (DLL) Initialization routine failed .

The reason is that python 3.6.1 32 Bit and 64 The problem of bit ,shell The runtime is still loaded 32 position python Installation package , So we need to find a way to solve it 32 Bit and 64 position shell The problem of simultaneous coexistence , because python3.6.1 32 Bit has written a lot of software , Cannot uninstall .
This problem is solved , The reason is simple , The file used to define the test cannot be named tensorflow.py, Just change to another name .python32, python64 The guaranteed paths on the same computer will not conflict , No additional changes are required .
————————————————
Copyright notice : This sentence is CSDN Blogger 「fhqlongteng」 The original article of
Four 、 Above unresolved , Download lower version tensorflow1.0(1.10 The following versions ) in the future , Execute the following commands in turn :
pip install nn
pip install layer
pip install keras
After the above operations ,tensorflow Fully functional , Can be taken as 1.14 Version USES
This article takes Code kid blog Understanding learning
5、 ... and 、 There is also a risky solution .
Reinstall the lower version anaconda Adapt it tensorflow1.10 Above version , But the lower version anaconda Are not compatible tensorflow2.0
6、 ... and 、 None of the above has been solved , Please change to a higher configuration CPU
边栏推荐
猜你喜欢
随机推荐
Regular symbol description
Longest Palindromic Substring
6. Functions of C language, why functions are needed, how functions are defined, and the classification of functions
Does any elder brother know how to solve the huge flinksql log
通配符 SSL/TLS 证书
Solve flask integration_ Error reporting in restplus
Two methods to judge the size end
The privatized instant messaging platform protects the security of enterprise mobile business
[C language] guessing numbers game
zfoo增加类似于mydog的路由
树行表达方式
robobrowser的简单使用
Vivado designs PC and ram
MySQL startup error 1607 unexpected process termination
2、 Relationship between software operation and memory
上海交大牵手淘宝成立媒体计算实验室:推动视频超分等关键技术发展
Merge sort template
最大交换[贪心思想&单调栈实现]
How to use pycharm to quickly create a flask project
Related concepts of multitasking programming






![最大交换[贪心思想&单调栈实现]](/img/ad/8f0914f23648f37e1d1ce69086fd2e.png)
![[C language] function](/img/81/c185e2bb5eccc13433483f9558f52a.png)
![[C language] step jumping problem [recursion]](/img/0c/32870484e89b494e41068f7c38b08e.png)
