Home > other >  Great god help see a TensorFlow problem
Great god help see a TensorFlow problem

Time:09-23

System Windows 7
Just install Python3.5 and TensorFlow1.4
After the loading test, input the import tensorflow as tf was a pile of error below

 & gt;> The import tensorflow as tf 
Traceback (the most recent call last) :
The File "C: \ Users \ wujiwen \ AppData \ Local \ designed \ Python \ Python35 \ lib \ site - packages \ tensorflow \ Python \ platform \ self_check py", line 47, in preload_check
Ctypes. WinDLL (build_info. Msvcp_dll_name)
File "C: \ Users \ wujiwen \ AppData \ Local \ Python35 \ lib \ \ designed \ Python ctypes \ set py", line 351, in __init__
Self. _handle=_dlopen (self _name, mode)
OSError: [126] WinError can't find the specified module,

During handling of the above exception, another exception occurred:

Traceback (the most recent call last) :
The File "& lt; Pyshell# 0 & gt;" , the line 1, the in & lt; module>
The import tensorflow as tf
The File "C: \ Users \ wujiwen \ AppData \ Local \ designed \ Python \ Python35 \ lib \ site - packages \ tensorflow \ set py", line 24, in & lt; module>
The from tensorflow. Python import *
The File "C: \ Users \ wujiwen \ AppData \ Local \ designed \ Python \ Python35 \ lib \ site - packages \ tensorflow \ Python \ set py", line 49, in & lt; module>
The from tensorflow. Python import pywrap_tensorflow
The File "C: \ Users \ wujiwen \ AppData \ Local \ designed \ Python \ Python35 \ lib \ site - packages \ tensorflow \ Python \ pywrap_tensorflow py", 30, the line in & lt; module>
Self_check. Preload_check ()
The File "C: \ Users \ wujiwen \ AppData \ Local \ designed \ Python \ Python35 \ lib \ site - packages \ tensorflow \ Python \ platform \ self_check py", line 55, in preload_check
% build_info. Msvcp_dll_name)
ImportError: Could not find 'msvcp140. DLL. TensorFlow requires that this DLL be installed in a directory that is named in your % % the PATH environment variable. You may install this DLL by downloading Visual c + + Redistributable 2015 Update 3 from this URL: https://www.microsoft.com/en-us/download/details.aspx? Id=53587
>


In the process of loading without any error, a great god help me to look at this what is causing the error, how to solve

CodePudding user response:

Call you bag operation environment of vc + + 2015, give you the url

CodePudding user response:

Make tensorflow truly good or Linux, it is also easy to install centos, but better than Windows worry too much,

CodePudding user response:

reference 1/f, make what oh reply:
call you bag of vc + + 2015 running environment, even give you the url


Installed and changed the environment variable is not enough

CodePudding user response:

Win the pit is too much
  • Related