Skip to content

Commit 96c5403

Browse files
committed
DOC: add note about how to avoid overlaying multiple versions of mpl
1 parent 4f87488 commit 96c5403

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/api/prev_api_changes/api_changes_3.8.0/behaviour.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ Following the deprecation of ``pkg_resources.declare_namespace`` in ``setuptools
183183
As a consequence using ``pip`` to install a version of Matplotlib >= 3.8 on top
184184
of a version of Matplotlib < 3.8 (e.g. via ``pip install --local`` or
185185
``python -m venv --system-site-packages ...``) will fail because the old
186-
`matplotlib.mpl_toolkits` files will be found where as the newer files will be
186+
``matplotlib.mpl_toolkits`` files will be found where as the newer files will be
187187
found for all other modules. This will result in errors due to the version
188188
miss-match.
189+
190+
To avoid this issue you need to avoid having multiple versions of Matplotlib
191+
in different entries of ``sys.path``. Either uninstall Matplotlib from
192+
at the system level or use a more isolated virtual environment.

0 commit comments

Comments
 (0)