Skip to content

Commit f6cf7d9

Browse files
jamesmyattjreback
authored andcommitted
DOC: Update compiler guidance for Windows (#24331)
1 parent 1c37ce9 commit f6cf7d9

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

doc/source/contributing.rst

+9-5
Original file line numberDiff line numberDiff line change
@@ -125,21 +125,25 @@ requires a C compiler and Python environment. If you're making documentation
125125
changes, you can skip to :ref:`contributing.documentation` but you won't be able
126126
to build the documentation locally before pushing your changes.
127127

128-
.. _contributiong.dev_c:
128+
.. _contributing.dev_c:
129129

130130
Installing a C Compiler
131131
~~~~~~~~~~~~~~~~~~~~~~~
132132

133133
Pandas uses C extensions (mostly written using Cython) to speed up certain
134134
operations. To install pandas from source, you need to compile these C
135135
extensions, which means you need a C compiler. This process depends on which
136-
platform you're using. Follow the `CPython contributing guidelines
137-
<https://docs.python.org/devguide/setup.html#build-dependencies>`_ for getting a
136+
platform you're using. Follow the `CPython contributing guide
137+
<https://devguide.python.org/setup/#compile-and-build>`_ for getting a
138138
compiler installed. You don't need to do any of the ``./configure`` or ``make``
139139
steps; you only need to install the compiler.
140140

141-
For Windows developers, the following links may be helpful.
141+
For Windows developers, when using Python 3.5 and later, it is sufficient to
142+
install `Visual Studio 2017 <https://visualstudio.com/>`_ with the
143+
**Python development workload** and the **Python native development tools**
144+
option. Otherwise, the following links may be helpful.
142145

146+
* https://blogs.msdn.microsoft.com/pythonengineering/2017/03/07/python-support-in-vs2017/
143147
* https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat/
144148
* https://github.com/conda/conda-recipes/wiki/Building-from-Source-on-Windows-32-bit-and-64-bit
145149
* https://cowboyprogrammer.org/building-python-wheels-for-windows/
@@ -149,7 +153,7 @@ For Windows developers, the following links may be helpful.
149153
Let us know if you have any difficulties by opening an issue or reaching out on
150154
`Gitter`_.
151155

152-
.. _contributiong.dev_python:
156+
.. _contributing.dev_python:
153157

154158
Creating a Python Environment
155159
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)