Skip to content

Commit cdb9178

Browse files
committed
troubleshooting: new entry for manimpango, hint for update for old pango problems
1 parent ad9fa7e commit cdb9178

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

docs/source/installation/troubleshooting.rst

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,28 @@ Troubleshooting
33

44
List of known installation problems.
55

6-
(Windows) OSError: dlopen() failed to load a library: pango?
7-
------------------------------------------------------------
8-
9-
If your manual installation of Manim (or even the installation using
10-
Chocolatey) fails with the error
6+
``pip install manim`` fails when installing manimpango?
7+
-------------------------------------------------------
8+
Most likely this means that pip was not able to use our pre-built wheels
9+
of ``manimpango``. Let us know (via our `Discord <https://discord.gg/mMRrZQW>`_
10+
or by opening a
11+
`new issue on GitHub <https://github.com/ManimCommunity/ManimPango/issues/new>`_)
12+
which architecture you would like to see supported, and we'll see what we
13+
can do about it.
14+
15+
To fix errors when installing ``manimpango``, you need to make sure you
16+
have all the necessary build requirements. Check out the detailed
17+
instructions given in
18+
`the BUILDING section <https://github.com/ManimCommunity/ManimPango#BUILDING>`_
19+
of the corresponding `GitHub repository <https://github.com/ManimCommunity/ManimPango>`_.
1120

12-
.. code-block::
1321

14-
OSError: dlopen() failed to load a library: pango / pango-1 / pango-1.0 / pango-1.0-0
15-
16-
possibly combined with alerts warning about procedure entry points
17-
``"deflateSetHeader"`` and ``"inflateReset2"`` that could not be
18-
located, you might run into an issue with a patched version of ``zlib1.dll``
19-
shipped by Intel, `as described here <https://github.com/msys2/MINGW-packages/issues/813>`_.
22+
(Windows) OSError: dlopen() failed to load a library: pango?
23+
------------------------------------------------------------
2024

21-
To resolve this issue, you can copy ``zlib1.dll`` from the directory
22-
provided for the Pango binaries to the directory Manim is installed to.
25+
This should be fixed in Manim's latest version, update
26+
using ``pip install --upgrade manim``.
2327

24-
For a more global solution (try at your own risk!), try renaming the
25-
file ``zlib1.dll`` located at ``C:\Program Files\Intel\Wifi\bin`` to
26-
something like ``zlib1.dll.bak`` -- and then try installing Manim again
27-
(either using ``pip install manim`` or with Chocolatey). Ensure that
28-
you are able to revert this name change in case you run into troubles
29-
with your WiFi (we did not get any reports about such a problem, however).
3028

3129

3230
Some letters are missing from TextMobject/TexMobject output?

0 commit comments

Comments
 (0)