'"manim: command not found". Un and Reinstalled Manim and now having issues

/bin/sh: manim: command not found

From other answers I've found it seems to be an issue with path or directory? I'm not sure though and I don't want to make things worse. Does anyone know how to fix this? Mac user btw.



Solution 1:[1]

For the sake of completeness: we resolved this question on Manim's Discord server. The main problem was that the executables of anaconda's Python were not added to the system's PATH.

Resolution: either

  • change the call to the executable manim to the module python -m manim (where python is the correct Python version), or
  • add the /Users/username/opt/anaconda3/bin to the PATH.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Benjamin Hackl