Skip to content

Commit 8b8ec55

Browse files
authored
Dev install troubleshooting
Don't really know where to put this, but I just spent like half an hour and a lot of install/uninstall/banging my head against a wall trying to figure out why pytest and numpy were conflicting in weird ways until I remembered that in conda you have to usually explicitly install pytest. Figure there are a couple of other really common things that mostly don't go out of date that might be worth including.
1 parent a051169 commit 8b8ec55

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

doc/devel/development_setup.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ and activated with one of the following::
2626
<file folder location>\Scripts\Activate.ps1 # Windows PowerShell
2727

2828
Whenever you plan to work on Matplotlib, remember to activate the development
29-
environment in your shell.
29+
environment in your shell.
3030

3131
Retrieving the latest version of the code
3232
=========================================
@@ -65,7 +65,7 @@ also happen if you change branches) you will have to re-run
6565
Additional dependencies for testing
6666
===================================
6767
This section lists the additional software required for
68-
:ref:`running the tests <testing>`.
68+
:ref:`running the tests <testing>`.
6969

7070
Required:
7171

@@ -133,3 +133,11 @@ Optional, but recommended:
133133
built without Inkscape and optipng, but the build process will raise various
134134
warnings. If the build process warns that you are missing fonts, make sure
135135
your LaTeX distribution bundles cm-super or install it separately.
136+
137+
.. _troubleshooting:
138+
139+
Troubleshooting
140+
===============
141+
* pytest - If the test runner is failing, verify that the pytest you are using
142+
is installed in your environment using the ``which pytest`` and ``which python``
143+
commands. If the paths are not the same, install pytest in your environment.

0 commit comments

Comments
 (0)