Skip to content

Commit b064af9

Browse files
Elastinobehackl
andauthored
Update macos.rst (#3857)
* Update macos.rst As of July/2024, brew installs Manim and its dependencies. Guideline for installing dependencies with brew, and attempt to install using pip3 will no longer work either venv or not. Now homebrew team manages python resources as "System-wide" only with Brew installed resources. Hence, to give first time installer just leave a single line install command would be the simplest option we have. * Update docs/source/installation/macos.rst --------- Co-authored-by: Benjamin Hackl <[email protected]>
1 parent 374eeeb commit b064af9

File tree

1 file changed

+5
-36
lines changed

1 file changed

+5
-36
lines changed

docs/source/installation/macos.rst

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -17,46 +17,15 @@ follow `Homebrew's installation instructions <https://docs.brew.sh/Installation>
1717
(and is recommended to) be installed natively.
1818

1919

20-
Required Dependencies
21-
---------------------
20+
Installing Manim
21+
----------------
2222

23-
To install all required dependencies for installing Manim (namely: Python,
24-
and some required Python packages), run:
23+
As of July/2024, brew can install Manim including all required dependencies.
24+
To install Manim:
2525

2626
.. code-block:: bash
2727
28-
brew install py3cairo
29-
30-
On *Apple Silicon* based machines (i.e., devices with the M1 chip or similar; if
31-
you are unsure which processor you have check by opening the Apple menu, select
32-
*About This Mac* and check the entry next to *Chip*), some additional dependencies
33-
are required, namely:
34-
35-
.. code-block:: bash
36-
37-
brew install pango pkg-config scipy
38-
39-
After all required dependencies are installed, simply run:
40-
41-
.. code-block:: bash
42-
43-
pip3 install manim
44-
45-
to install Manim.
46-
47-
.. note::
48-
49-
A frequent source for installation problems is if ``pip3``
50-
does not point to the correct Python installation on your system.
51-
To check this, run ``pip3 -V``: for macOS Intel, the path should
52-
start with ``/usr/local``, and for Apple Silicon with
53-
``/opt/homebrew``. If this is not the case, you either forgot
54-
to modify your shell profile (``.zprofile``) during the installation
55-
of Homebrew, or did not reload your shell (e.g., by opening a new
56-
terminal) after doing so. It is also possible that some other
57-
software (like Pycharm) changed the ``PATH`` variable – to fix this,
58-
make sure that the Homebrew-related lines in your ``.zprofile`` are
59-
at the very end of the file.
28+
brew install manim
6029
6130
.. _macos-optional-dependencies:
6231

0 commit comments

Comments
 (0)