Skip to main content

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 😉 . For donations, UPI id : spurujeet@oksbi

Comments

Popular posts from this blog

How to Create a Family Wellness Routine

In today's fast-paced world, it can be easy to neglect our health and wellness in favor of keeping up with work, school, and other obligations. However, it's important to remember that taking care of ourselves and our families is essential for leading happy and fulfilling lives. One great way to ensure that the whole family is staying healthy and happy is by creating a family wellness routine. A family wellness routine is a set of daily habits and activities that promote physical, mental, and emotional well-being for everyone in the household. By establishing a routine that incorporates healthy eating, regular physical activity, and other wellness practices, you can help your family stay strong and resilient in the face of life's challenges. So, how can you create a family wellness routine that works for everyone? Here are some tips to get you started: 1. Set Clear Goals: The first step in creating a family wellness routine is to set clear goals for what you want to achieve...

Make your own tic-tac-toe game on Android

Now stay tuned with the new videos.Just click the button mention below of youtube: App Code for MainActivity.java: import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.Toast; public class MainActivity extends AppCompatActivity implements View.OnClickListener { int chance=0;     Button btn1,btn2,btn3,btn4,btn5,btn6,btn7,btn8,btn9,reset;     @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);     btn1=(Button)findViewById(R.id.btn1);     btn2=(Button)findViewById(R.id.btn2);     btn3=(Button)findViewById(R.id.btn3);     btn4=(Button)findViewById(R.id.btn4);     btn5=(Button)findViewById(R.id.btn5);     b...

Tips for Planning a Family Volunteer Day

Volunteering as a family can be a rewarding and fulfilling experience. Not only does it provide an opportunity to give back to the community, but it also allows families to spend quality time together while making a positive impact. Planning a family volunteer day may seem like a daunting task, but with the right tips and guidance, it can be a seamless and enjoyable experience for everyone involved. In this blog post, we will discuss some useful tips for planning a family volunteer day that will help you organize and execute a successful and meaningful day of giving back. 1. Choose a Cause or Organization The first step in planning a family volunteer day is to choose a cause or organization that you and your family are passionate about. Whether it's supporting a local shelter, cleaning up a park, or helping out at a food bank, there are countless opportunities for families to make a difference in their community. Consider the interests and abilities of your family members when sele...