Skip to content

Commit 1e2a390

Browse files
authored
docs: pycairo now has wheels (#517)
BREAKING CHANGE: May break for users using scripts/pycairoinstall.py
1 parent 41f6f05 commit 1e2a390

File tree

4 files changed

+237
-354
lines changed

4 files changed

+237
-354
lines changed

docs/source/installation/win.rst

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -18,43 +18,6 @@ You can install manim very easily using chocolatey, by typing the following comm
1818
1919
And then you can skip all the other steps and move to installing :ref:`latex-installation`.
2020

21-
Cairo installation
22-
******************
23-
24-
1. Visit the `Download Page
25-
<https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo>`_.
26-
27-
2. Select the download that corresponds to your PC's architechture and Python
28-
Version
29-
30-
.. image:: ../_static/windows_cairo.png
31-
:align: center
32-
:width: 400px
33-
:alt: windows cairo download page
34-
35-
.. note:: ``cp38`` corresponds to Python 3.8, ``cp37`` corresponds to Python
36-
3.7, etc. ``win_amd64`` corresponds to 64-bit machines, ``win32``
37-
corresponds to 32-bit machines.
38-
39-
3. Open up your command prompt by hitting the Win key and typing ``cmd``.
40-
41-
4. Enter the directory where you want to install cairo by typing ``cd
42-
C:\path\to\cairo`` with the path being where you downloaded the ``.whl``
43-
file in step 2.
44-
45-
5. Finally, run ``pip(pyversion) install (cairo-file).whl``, where
46-
``pyversion`` is the python version you are using. For example, if you are
47-
using python3.7, you should run ``pip3.7 install (cairo-file).whl``.
48-
49-
50-
6. Alternatively, running the command below installs pycairo. This needs to be
51-
run in an elevated command prompt like Powershell.
52-
53-
.. code-block:: bash
54-
55-
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/ManimCommunity/manim/master/scripts/pycairoinstall.py -UseBasicParsing).Content | py -3
56-
57-
5821
FFmpeg installation
5922
*******************
6023

0 commit comments

Comments
 (0)