-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Windows build instructions #59689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report. How did you install |
@andrewgsavage I couldn't
While I couldn't find any documentation on the error, there was a comment on Stackflow, suggesting users to do What's the reason for that? Isn't cython already present in the virtual environment? |
The same way, with everything in that screenshot, other than MSVC v142, selected. |
Thanks @andrewgsavage. This was updated in #49799. @natmokval - when changing from VS Build Tools 2019 to 2022, do you know if it was ever verified that 2022 works with building pandas? |
@rhshadrach - If I remember correctly, I checked that VS Build Tools 2022 works for building pandas before updating the documentation on how to install a C compiler on Windows. See DOC: BT for VisualStudio2022 |
#59576 is related |
I had the same error after following the steps on the doc here and it was resolved after adding MSVC v142 - VS 2019 C++ x64/x86 to the build tools. If it's relevant, I also installed all the default selected tools given in that screenshot (except C++ ATL, C++ MFC, C++/CLI, and C++ Modules, which were unselected by default). Thanks for the information @andrewgsavage! |
Thanks @Ravenin7 - PRs to update the docs are welcome! |
take |
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/docs/dev/development/contributing_environment.html#step-1-install-a-c-compiler
Documentation problem
Installing VS Build Tools 2022 with default settings gives me the following error when I build with mason:
Suggested fix for documentation
Include instructions to select the optional MSVC v142 - VS 2019 C++ x64/x86 build tools on the right of the window:
after installing this it compiled.
The text was updated successfully, but these errors were encountered: