Closed kolibril13 closed 4 years ago
it seems that you run anaconda. Is your Jupyter notebook running in the same environment that your working manim installation?
I know that many people have problems running Jupyter and other more advanced tools with anaconda... the intuition is that such projects may have custom path resolution rules and some packages cannot be found.
Specifically, on cairo (or rather pycairo) this is likely complicated by the presence of the system-wide installation (which is often the way it is installed).
Hope that the hints may help.
Anyway, it does not look like directly connected to jupyter-manim package - and yes, I wish I will find a moment to develop it further!
On Thu, 15 Aug 2019 at 23:53, kolibril13 notifications@github.com wrote:
I just get the error message
~/anaconda3/lib/python3.7/site-packages/manimlib-0.1.4-py3.7.egg/manimlib/init.py in
1 #!/usr/bin/env python 2 import manimlib.config ----> 3 import manimlib.extract_scene 4 import manimlib.stream_starter 5 ~/anaconda3/lib/python3.7/site-packages/manimlib-0.1.4-py3.7.egg/manimlib/extract_scene.py in
7 import traceback 8 ----> 9 from manimlib.scene.scene import Scene 10 from manimlib.utils.sounds import play_error_sound 11 from manimlib.utils.sounds import play_finish_sound ~/anaconda3/lib/python3.7/site-packages/manimlib-0.1.4-py3.7.egg/manimlib/scene/scene.py in
9 from manimlib.animation.creation import Write 10 from manimlib.animation.transform import MoveToTarget, ApplyMethod ---> 11 from manimlib.camera.camera import Camera 12 from manimlib.constants import * 13 from manimlib.container.container import Container ~/anaconda3/lib/python3.7/site-packages/manimlib-0.1.4-py3.7.egg/manimlib/camera/camera.py in
7 from PIL import Image 8 from scipy.spatial.distance import pdist ----> 9 import cairo 10 import numpy as np 11 ModuleNotFoundError: No module named 'cairo'
But manim is working properly on my system. I guess there is some kind of version conflict. Is this project acutally still in development? I think the idea of connecting manim with notebooks is beautiful and has a lot of potential!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/krassowski/jupyter-manim/issues/3?email_source=notifications&email_token=ABMQBRTZIMGU3LD22IJPZWLQEXM6HA5CNFSM4IMCQN7KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HFRERBA, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMQBRWGU6RB2RZWGSABSRDQEXM6HANCNFSM4IMCQN7A .
-- Best regards, Michał Krassowski
Nice, actually I have two anaconda environments.
Option 1This solution is working! Short tutorial for installing in anaconda:
anaconda-navigator
conda activate manim
install jupyter-manim
jupyter notebook
. import jupyter_manim
Option 2This solution is not working
Thanks Michał for your reply!
I just get the error message
But manim is working properly on my system. I guess there is some kind of version conflict. Is this project acutally still in development? I think the idea of connecting manim with notebooks is beautiful and has a lot of potential!