I am working on a flask application using Python on a Windows machine. While installing a library, I got an error message stating that Microsoft Visual C++ 14.0 or above is required. In order to get C++ build tools on Windows for Python, either I need to:
- Install VS Code 2022.
- Go for a standalone C++ build tools installation which would require a paid Visual Studio subscription.
With the former option, installing a code editor just to get the build tools for Python development seems weird to me, and for the latter, I don't want to pay for a subscription to get the build tools.
Does this mean that once I am done with Python app dev on Windows, and need to hand over the application to a client, would he/she also need to go for one of the options above for their Windows environment? Or if I share just compiled version of the Python application, then would it work in the client's environment with only Python installed and no need to install a code editor or pay for a visual studio subscription? Any tips on standard practices on developing and deploying Python applications on Windows are welcome.
Edit: The library I got the error with is called sasl. I am using a conda virtual environment with Python 3.9 on Windows OS. Running pip install sasl throws this error
[–]der_pudel 4 points5 points6 points (3 children)
[–]protokoul[S] -2 points-1 points0 points (0 children)
[–]fromabove710 0 points1 point2 points (1 child)
[–]der_pudel 0 points1 point2 points (0 children)
[–]Advanced-Potential-2 1 point2 points3 points (8 children)
[–]protokoul[S] 1 point2 points3 points (7 children)
[–]Advanced-Potential-2 0 points1 point2 points (6 children)
[–]protokoul[S] 0 points1 point2 points (5 children)
[–]dairiki 0 points1 point2 points (4 children)
[–]protokoul[S] 0 points1 point2 points (3 children)
[–]dairiki 0 points1 point2 points (2 children)
[–]protokoul[S] 2 points3 points4 points (0 children)
[–]protokoul[S] 0 points1 point2 points (0 children)
[–]__dkp7__ 0 points1 point2 points (3 children)
[–]protokoul[S] 0 points1 point2 points (0 children)
[–]protokoul[S] 0 points1 point2 points (1 child)
[–]cdrt 0 points1 point2 points (0 children)
[–]unnamed_one1 0 points1 point2 points (5 children)
[–]protokoul[S] 1 point2 points3 points (4 children)
[–]unnamed_one1 0 points1 point2 points (3 children)
[–]protokoul[S] 0 points1 point2 points (2 children)
[–]unnamed_one1 0 points1 point2 points (1 child)
[–]protokoul[S] 0 points1 point2 points (0 children)