python modules installing Error Visual c++ 14.0 is required [duplicate]
2024/11/16 15:30:23
I am trying to install new modules of Python on my PC running Windows 8.1 and Python 3.7
I found a solution saying "Ïnstall Microsoft Build Tools 2015". I install this package and still facing this error. Here is a screenshot(Visual c++ 14.0 error):
Please help me to sort this out, now its causing headache.
Answer
You have to install the C++ compiler that comes with Microsoft Visual Studio 15. This is because some of the underlying libraries of Python are written in C++. Both Linux and Mac OSs come with the C++ build tools built in with the operating system, Windows does not (sadly). It used to be a stand alone set of build tools one could install separately. Unfortunately, the stand alone build tools for Microsoft Visual C++ no longer exist. Instead Microsoft prefer you install their 6GB visual studio, which many old links direct to. Many of us realize that this requirement is despotic and want the stand alone installer back.
Despite Microsoft best efforts to redirect all hyperlinks(in MS blogs etc) to the new Visual Studio installer, the following location seems to host the older build tools for VS2015. However, it is going to be between 3gb and 6gb in size: https://visualstudio.microsoft.com/vs/older-downloads/
The size does not make any sense for just the C++ build tools. However, I am told this is correct. It seems in true MS fashion it ships with a lot of extra baggage most of users / developers will not even care about (I don't want to cross compile C++ for Arm etc).
This question already has answers here:Return JSON response from Flask view(15 answers)How to append ajax html response to next to current div(5 answers)Closed 5 years ago.Edit: Hi Ive checked the dupl…
With the help of the command button, I am able to disconnect the frame in Tkinter. But is there any way which helps to use the same button to start also?import tkinter as tk
counter = 0
def counter_la…
Closed. This question needs to be more focused. It is not currently accepting answers.Want to improve this question? Update the question so it focuses on one problem only by editing this post.Closed 4…
I have a list of booleans likel = [False, False, False, True, True, True, False, False, True, False, False]and want to invert every edge value that is False like[True, True, True, True, True, True, Fal…
I am trying to draw text on Image where the user clicks.
Getting this error:Exception in Tkinter callback
Traceback (most recent call last):File "C:\Users\Admin\AppData\Local\Programs\Python\Pytho…
I am developping a tool to transcribe interviews for a contract I have. For that I develop a code with the following flow:After input validation, the audio file (in m4a) is converted to wav and stored …
Using selenium 4.12 in Python, how can I intercept an HTTP request to see what its body or headers look like?
Please Note, that Im not asking for code but rather for resources/ideas of different or su…
Im following this guide (Python Quickstart: Replying to SMS and MMS Messages) to try and set up a flask server, but when I try to connect to http://localhost:5000 I get a 404 error. I can ping 127.0.0.…
I just need convert entered text(bytes) to string.
But if i on cyrillic press Backspace and some character, python throw me this error:UnicodeDecodeError: utf-8 codec cant decode byte 0xd0 in position …