title: Runtime Error R6034, after installing OpenCV on Windows 7 for Python3
body: <p>I recently installed OpenCV.  I started by installing Anaconda 3, and followed instructions on building OpenCV found here: <a href="https://www.learnopencv.com/install-opencv-4-on-windows/" rel="nofollow noreferrer">https://www.learnopencv.com/install-opencv-4-on-windows/</a>   It installed okay and I get access to the libraries in Python (see output below)</p>
  
  <pre><code>Python 3.6.7 |Anaconda custom (64-bit)| (default, Dec 10 2018, 20:35:02) [MSC v.
  1915 64 bit (AMD64)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import cv2
  &gt;&gt;&gt; cv2.__version__
  '4.0.1-dev'
  &gt;&gt;&gt;
  </code></pre>
  
  <p>However, every time I open the anaconda command line interface, a popup comes up saying:</p>
  
  <blockquote>
    <p>Runtime Error</p>
    
    <p>Program C:\ ... \python.exe</p>
    
    <p>R6034</p>
    
    <p>An application has made an attempt to load the C runtime library
    incorrectly. Please contact the application's support team for more
    information.</p>
  </blockquote>
  
  <p>I have looked for this error and found that it has to do with MicroSoft build tools conflicts.  For example a library is built for msvcr90.dll, then when you go to use this library, the OS finds 2 versions in the PATH.  </p>
  
  <p>For me, this only happens in the Anaconda Prompt, so I looked deep into the Path on that environment using commands like <code>$where msvc*</code> etc; however, I can not find any conflicts.</p>
  
  <p>So far it is just annoying, but I would like to resolve it.</p>