Skip to content

Commit 1607478

Browse files
ikoevskadatapythonista
authored andcommitted
Fixed broken link syntax (#64)
* Fixed broken link syntax * Fixed command source activate not working. conda activate works. * Added note about making pasted paths work Windows users note * Used consistent reference for path to pandas dir
1 parent 53cbf78 commit 1607478

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

pandas/guide/source/pandas_setup.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ repository:
6464
3. Set up a Python environment
6565
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6666

67-
* Download and install `Anaconda <https://www.anaconda.com/download/>`
67+
* Download and install `Anaconda <https://www.anaconda.com/download/>`_.
6868

6969
.. note::
7070
**Windows users**: run the next commands in the Anaconda Prompt (found in the Anaconda
@@ -74,11 +74,15 @@ repository:
7474
* If you chose to prepend Anaconda to your PATH during install adding it to your ``~/.bashrc``, just restart your terminal.
7575
* Otherwise, run ``export PATH="<path-to-anaconda>/bin:$PATH"`` in your terminal. Keep in mind that it will be active exclusively in the terminal you run this command.
7676
* Create a conda environment:
77-
``conda env create -n pandas_dev -f <path-to-pandas>/ci/environment-dev.yaml``
77+
``conda env create -n pandas_dev -f <path-to-pandas-dir>/ci/environment-dev.yaml``
78+
79+
.. note::
80+
**Windows users**: If you're copy-pasting the path, replace all pasted ``\`` characters with ``/`` for the command to work.
81+
7882
* Activate the new conda environment:
79-
``source activate pandas_dev``
83+
``conda activate pandas_dev``
8084
* Install pandas development dependencies:
81-
``conda install -c defaults -c conda-forge --file=<pandas-dir>/ci/requirements-optional-conda.txt``
85+
``conda install -c defaults -c conda-forge --file=<path-to-pandas-dir>/ci/requirements-optional-conda.txt``
8286

8387
4. Compile C code in pandas
8488
~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)