|
| 1 | +.. _troubleshooting-faq: |
| 2 | + |
| 3 | +.. redirect-from:: /faq/troubleshooting_faq |
| 4 | +.. redirect-from:: /users/faq/troubleshooting_faq |
| 5 | + |
| 6 | +=============== |
| 7 | +Troubleshooting |
| 8 | +=============== |
| 9 | + |
| 10 | +For guidance on debugging an installation, see :ref:`troubleshooting-install`. |
| 11 | + |
| 12 | + |
| 13 | +.. _git-trouble: |
| 14 | + |
| 15 | +Problems with git |
| 16 | +================= |
| 17 | + |
| 18 | +First, make sure you have a clean build and install (see :ref:`clean-install`), |
| 19 | +get the latest git update, install it and run a simple test script in debug |
| 20 | +mode:: |
| 21 | + |
| 22 | + rm -rf /path/to/site-packages/matplotlib* |
| 23 | + git clean -xfd |
| 24 | + git pull |
| 25 | + python -m pip install -v . > build.out |
| 26 | + python -c "from pylab import *; set_loglevel('debug'); plot(); show()" > run.out |
| 27 | + |
| 28 | +and post :file:`build.out` and :file:`run.out` to the `matplotlib-devel |
| 29 | +<https://mail.python.org/mailman/listinfo/matplotlib-devel>`_ |
| 30 | +mailing list (please do not post git problems to the `users list |
| 31 | +<https://mail.python.org/mailman/listinfo/matplotlib-users>`_). |
| 32 | + |
| 33 | +Of course, you will want to clearly describe your problem, what you |
| 34 | +are expecting and what you are getting, but often a clean build and |
| 35 | +install will help. See also :ref:`reporting-problems`. |
| 36 | + |
| 37 | +Unlink of file ``*/_c_internal_utils.cp311-win_amd64.pyd`` failed |
| 38 | +============================================================================ |
| 39 | + |
| 40 | +The DLL files may be loaded by multiple running instances of Matplotlib; therefore |
| 41 | +check that Matplotlib is not running in any other application before trying to |
| 42 | +unlink this file. Multiple versions of Matplotlib can be linked to the same DLL, |
| 43 | +for example a development version installed in a development conda environment |
| 44 | +and a stable version running in a Jupyter notebook. To resolve this error, fully |
| 45 | +close all running instances of Matplotlib. |
0 commit comments