Tensorflow on miniconda with python 3.8. msvcp140_1.dll missing

  miniconda, python, tensorflow, windows

Im using Miniconda and have followed the instructions for installing tensorflow with
conda create -n tf tensorflow

Im then using the tf interpreter in VS Code.

But i still i get the below error.

Could not find the DLL(s) ‘msvcp140_1.dll’. TensorFlow requires that these DLLs be installed in a directory that is named in your %PATH% environment variable. You may install these
DLLs by downloading "Microsoft C++ Redistributable for Visual Studio 2015, 2017 and 2019" for your platform from this URL: https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads

I have reinstalled the x64 redistributable three times, but the error is not solved.

The file is present in the following paths
C:Usersmyusernameminiconda3envstfmsvcp140_1.dll
C:Usersmyusernameminiconda3envstfLibrarybinmsvcp140_1.dll
C:WindowsSystem32msvcp140_1.dll
C:Usersmyusernameminiconda3Librarybinmsvcp140_1.dll
C:Usersmyusernameminiconda3msvcp140_1.dll

I have read all threads and pages i can find about this issue, but for most its solved when installing the redistributable, but that doesnt work for me.

I dont know how to solve this.

Source: Windows Questions

LEAVE A COMMENT