Install on Windows, VS2015
See original GitHub issuepip install on Windows, with VS 2015 halts with error:
C:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro definition of snprintf conflicts with Standard Library function declaration
Issue Analytics
- State:
- Created 8 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Visual Studio 2015 System Requirements | Microsoft Learn
You can download Visual Studio 2015 from My.VisualStudio.com. My.VisualStudio.com requires a free Dev Essentials subscription, or a Visual ...
Read more >Install Visual Studio | Microsoft Learn
Step 1 - Make sure your computer is ready for Visual Studio; Step 2 - Download Visual Studio; Step 3 - Install the...
Read more >Visual Studio Older Downloads - 2019, 2017, 2015 & Previous ...
Download previous versions of Visual Studio Community, Professional, and Enterprise softwares. Sign into your Visual Studio (MSDN) ...
Read more >Install Visual Studio versions side-by-side - Microsoft Learn
Run the following command, specifying a new folder path for the installation location and replacing the .exe file name with the appropriate ...
Read more >Can't find Visual Studio 2015 on the Start menu - Microsoft Learn
Describes how to remove third-party applications that the Secondary Installer in Visual Studio 2015 setup lets users deploy to their computer.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The following PR address the windows builds in conda: https://github.com/conda-forge/python-crfsuite-feedstock/pull/4
As a workaround, this is what worked for me:
crfsuite/include/os.h
and remove the line with#define snprintf _snprintf
pip install C:\users\whatever\path\to\python-crfsuite
(effectively installing it from the locally cloned repository)The workaround mentioned by @PMeira (adding a
< 1900
) didn’t work for me, even though I have VS2015 installed (which should map to MSC_VER 1900).