Python なアニメーションエンジン manim。

こういうの、好きなんですよねぇ。

てことで、手持ちの macOS で触ってみようと思ったけれど、

tac@yuki manim % pipenv install manimgl
Installing manimgl...
Error:  An error occurred while installing manimgl!
Error text: Collecting manimgl
  Downloading manimgl-1.0.0-py3-none-any.whl (203 kB)
Collecting PyOpenGL

...

Collecting scipy
  Downloading scipy-1.6.2.tar.gz (27.2 MB)
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'error'

    ERROR: Command errored out with exit status 1:
     command: /Users/tac/Desktop/manim/.venv/bin/python /Users/tac/Desktop/manim/.venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /var/folders/n7/hpxf5mz13cd0p9kfckngf1km0000gn/T/tmp0xbq1_t1
         cwd: /private/var/folders/n7/hpxf5mz13cd0p9kfckngf1km0000gn/T/pip-install-a_o0skdn/scipy
    Complete output (142 lines):
    lapack_opt_info:
    lapack_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/Users/tac/Desktop/manim/.venv/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE
    
    openblas_lapack_info:
    customize UnixCCompiler
    customize UnixCCompiler
      libraries openblas not found in ['/Users/tac/Desktop/manim/.venv/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE
    
    openblas_clapack_info:
    customize UnixCCompiler
    customize UnixCCompiler
      libraries openblas,lapack not found in ['/Users/tac/Desktop/manim/.venv/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE
    
    flame_info:
    customize UnixCCompiler
      libraries flame not found in ['/Users/tac/Desktop/manim/.venv/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE
    
    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
    customize UnixCCompiler

...

インストールで転けました。残念……。

でも、

tac@yuki manim % brew search scipy
==> Formulae
scipy
tac@yuki manim % 

だし、

tac@yuki manim % brew search openblas
==> Formulae
openblas
tac@yuki manim % brew search lapack
==> Formulae
lapack                                                       scalapack
tac@yuki manim % brew search flame
==> Formulae
flamegraph
==> Casks
flame

らしいのでなんとかはなりそう。その内またやってみるぞー。と思ったのでメモ……。

かいているひと

しもだ たくろう a.k.a. たくぅ

1996年くらいからこんなことをやっているのでなかなかのおじさんです。一応今もWeb系の仕事はやっているぽい。実がないので口の方で煙に巻きます。「ぺちぱな。」ん。くず界のくず。 SW-2066-7468-5602✨