Package Details: manim 0.18.1-1

Git Clone URL: https://aur.archlinux.org/manimce.git (read-only, click to copy)
Package Base: manimce
Description: Animation engine for explanatory math videos (community edition).
Upstream URL: https://github.com/ManimCommunity/manim
Keywords: animation graphics manim maths python
Licenses: custom, MIT
Conflicts: python-manimlib
Submitter: groctel
Maintainer: groctel (naveen521kk)
Last Packager: groctel
Votes: 12
Popularity: 0.162172
First Submitted: 2020-10-24 14:29 (UTC)
Last Updated: 2024-05-03 15:15 (UTC)

Dependencies (41)

Required by (1)

Sources (1)

Pinned Comments

groctel commented on 2024-05-03 15:20 (UTC)

PSA: The 0.18.1 update is broken due to two of manim's dependencies not building. You can apply these two patches to their corresponding dependencies' PKGBUILD files to fix the installation:

python-skia-pathops:

diff --git a/PKGBUILD b/PKGBUILD
index 58e18da..b5ac1e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,10 +12,10 @@ license=(BSD)
 depends=(python)
 makedepends=(python-pip)
 options=(!strip)
-_py=cp311
+_py=cp312
 _wheel="${_pkgname/-/_}-$pkgver-$_py-$_py-manylinux_2_17_$CARCH.manylinux2014_$CARCH.whl"
 source=("https://files.pythonhosted.org/packages/$_py/${_pkgname::1}/$_pkgname/$_wheel")
-sha256sums=('27861201a5eabcd50b1d4c94be9cd28749d9236cbbab797e5ca6a293b6c15178')
+sha256sums=('b7b6873b65b682f8cf94a3baf8fccf98219f689e09a08967075bda36da128d57')

 # If anybody wants to mess around with the Chromium tree and figure out how to
 # build skia from source on Arch I'm open to patches, but even after mucking

python-svgelements:

diff --git a/PKGBUILD b/PKGBUILD
index 752aaf3..fbc30da 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,10 +25,10 @@ build() {
     python -m build --wheel --no-isolation
 }

-check() {
-    cd "$_name-$pkgver"
-    python -m unittest -v
-}
+# check() {
+#     cd "$_name-$pkgver"
+#     python -m unittest -v
+# }

 package() {
     cd "$_name-$pkgver"

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

groctel commented on 2022-05-12 12:46 (UTC)

IIRC python-moderngl was outdated, so I created the -git version. It is up to date now, but it fails to build in my CI system due to missing makedepends, so I can't test that manim works with the original moderngl. I've already informed the maintainer, but until then you can switch to the -git version withuot any issues (I hope) or patch manim's PKGBUILD :)

phyxmeow commented on 2022-05-12 12:28 (UTC)

Why does this depend on python-moderngl-git but not python-moderngl? I have the latter installed and then cannot install manim.

Gregoire commented on 2022-02-22 18:34 (UTC)

Oops... I was doubly wrong, no idea why my yaourt aur's helper didn't update to current version and tried to compil an old one and for being wrong about nanimgl also. Thank you very much, it works !!! Sorry for the noise I made.

Volker_Weissmann commented on 2022-02-22 16:40 (UTC)

@groctel: If python-networkx-1.11 is not installed and I run pacaur -S manim, it installs python-networkx and it everything works. If python-networkx-1.11 is installed, then pacaur -S manim will not install python-networkx and manim will not work.

I do not know how python-networkx-1.11 got installed on my machine. If I'm not mistaken, the bug is not with manim, but with whatever made my machine install python-networkx-1.11. https://aur.archlinux.org/packages/python-networkx-1.11 only lists packages that depend on any package that provides python-networkx.

carlosal1015 commented on 2022-02-21 19:37 (UTC) (edited on 2022-02-21 19:43 (UTC) by carlosal1015)

Hi @Gregoire, manimgl != manim (community edition). In AUR there no exists a package for manimgl.

Gregoire commented on 2022-02-21 18:20 (UTC)

Hello,

I think the source of the code have changed to https://github.com/3b1b/manim/releases For example (untested) : 07629c2668790449e277df6ce23296c1ba6a5612882394bd71778029ce80a231 Source code (tar.gz) manim-1.5.0.tar.gz

groctel commented on 2022-02-12 22:31 (UTC)

It seems that you installed a different provider for networkx than the one specified in the PKGBUILD @Volker_Weissmann. The latest update CI's works without any problems: https://github.com/Groctel/pkgbuilds/runs/5124210956. Can you reproduce the error reinstalling manim with the default provider?

Volker_Weissmann commented on 2022-02-12 21:06 (UTC)

The dependencies seem to be incorrectly specified:

$ pacaur -S manim
...
$ ipython
...
In [1]: import manim
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Input In [1], in <module>
----> 1 import manim

File /usr/lib/python3.10/site-packages/manim/__init__.py:59, in <module>
     57 from .mobject.functions import *
     58 from .mobject.geometry import *
---> 59 from .mobject.graph import *
     60 from .mobject.logo import *
     61 from .mobject.matrix import *

File /usr/lib/python3.10/site-packages/manim/mobject/graph.py:10, in <module>
      7 from copy import copy
      8 from typing import Hashable, List, Optional, Tuple, Type, Union
---> 10 import networkx as nx
     11 import numpy as np
     13 from manim.mobject.opengl_mobject import OpenGLMobject

ModuleNotFoundError: No module named 'networkx'
...
$ pacman -Q | grep networkx
python-networkx-1.11 1.11-2
$ sudo pacman -S python-networkx
resolving dependencies...
looking for conflicting packages...
:: python-networkx and python-networkx-1.11 are in conflict. Remove python-networkx-1.11? [y/N] y

Packages (3) python-networkx-1.11-1.11-2 [removal]  python-pandas-1.4.0-1  python-networkx-2.6.3-4
...

now import manim works

naveen521kk commented on 2021-05-17 17:11 (UTC)

Hello, I have updated the package(0.6.0-2) for using the regular python-networkx instead of the git version, also fixed a problem due to click 8. Hope things work --Naveen

yashlala commented on 2021-05-17 16:33 (UTC)

Understood -- the git dependency doesn't cause problems on my end, in any case.

Good luck with your uni work :)