title: Tensorflow - ImportError: Could not find 'msvcp140.dll'
body: <p>I am just a beginner to a tensorflow and trying to install TensorFlow with CPU support only.</p>
  
  <p>Initially, I downloaded and installed Python 3.5.2 version from <a href="https://www.python.org/downloads/release/python-352/" rel="nofollow noreferrer">https://www.python.org/downloads/release/python-352/</a></p>
  
  <p>After successful installation, I ran the command <code>pip3 install --upgrade tensorflow</code> which installed tensorflow-1.8.0.</p>
  
  <p>To test installation i just ran following commands:</p>
  
  <pre><code>&gt; python
  
  &gt; import tensorflow as tf
  </code></pre>
  
  <p>But this gave me an <strong>error</strong>:</p>
  
  <blockquote>
    <p>ImportError: Could not find 'msvcp140.dll'. TensorFlow requires that
    this DLL be installed in a directory that is named in your %PATH%
    environment variable. You may install this DLL by downloading Visual
    C++ 2015 Redistributable Update 3 from this URL:
    <a href="https://www.microsoft.com/en-us/download/details.aspx?id=53587" rel="nofollow noreferrer">https://www.microsoft.com/en-us/download/details.aspx?id=53587</a></p>
  </blockquote>
  
  <p>I searched for this issue and found link to an issue <a href="https://github.com/tensorflow/tensorflow/issues/17393" rel="nofollow noreferrer">https://github.com/tensorflow/tensorflow/issues/17393</a>.</p>
  
  <p>According to above i tried running command </p>
  
  <pre><code>pip install tensorflow==1.5
  </code></pre>
  
  <p>But, this didn't solved my problem.</p>
  
  <p>I even tried downloading <strong><em>msvcp140.dll</em></strong> and manually coping it under <strong><em>C:\Windows\SysWOW64</em></strong> folder and reinstalling python and tensorflow.</p>
  
  <p>How do I fix this problem.</p>
  
  <p>Thanks in advance.</p>