Skip to content Skip to sidebar Skip to footer

Can't Pip Install Tensorflow 'msvcp140_1.dll' Missing

I am currently trying to pip install tensorflow, which works but after I install it, and then import it into my python module via import tensorflow as tf I get following error mess

Solution 1:

You can find msvcp140.dll in your %windows%/System32 folder, once you installed VC++ DIST for VS 2015, for msvcp140_1.dll you need to goto this page

https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

and in the section :Visual Studio 2015, 2017 and 2019, pick the correct package with the arch of your PC.

Solution 2:

Just click this link https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads Then install

x64: vc_redist.x64.exe

and restart your pc.

Solution 3:

I recommend you this setup tutorial, it works on my computer. And you need python 3.6 for Tensorflow instead of 3.7.

https://github.com/jeffheaton/t81_558_deep_learning/blob/master/manual_setup.ipynb

Solution 4:

In my case, Downloading Visual C++ from the url below works.

https://support.microsoft.com/en-gb/help/2977003/the-latest-supported-visual-c-downloads

Post a Comment for "Can't Pip Install Tensorflow 'msvcp140_1.dll' Missing"