Skip to main content

Posts

Showing posts from June, 2020

How to Solve error: Microsoft Visual C++ 14.0 is required. while installing modules in python.

The Link in the error seems to be outdated. Try with the below link: https://visualstudio.microsoft.com/visual-cpp-build-tools/ Step 1: It will install file and Visual studio will run and install 70 MB approx. Step 2: The visual studio build tools will appear. Click on resume/Install. Step 3: It will download and install 1.16 GB approx data. Wait for it to install. Step 4: It will ask you for a reboot. So, go ahead and do it. Step 5: Run your command again by which you were getting error. It should work. For me it was coming while installing pyaudio: So, my command will be :  python -m pip install pyaudio  while doing so I was getting one more error :  src/_portaudiomodule.c(29): fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory So, for this error I tried below commands: (Run as administrator if it didn't work.) pip install pipwin pipwin install pyaudio Hope we were able to resolve the issue 😉 .