3b1b / videos

Code for the manim-generated scenes used in 3blue1brown videos
6.01k stars 1.57k forks source link

I am too stupid to start the project. #12

Open ghost opened 2 years ago

ghost commented 2 years ago

Hello people, I think it's wonderful that 3b1b makes its videos available to us in this form as well. I have a basic problem. I can't render any of the shown videos projects myself. But that is up to me. Now to my problem. I have cloned the git and installed manim. FMPEG and Latex are also installed and all working. Manim should also work according to my current knowledge, yet I'm doing something wrong.

Example

As an example I would like to use now simply times the video. Here is the YouTube link to it. https://youtu.be/wTJI_WuZSwE

What I have done so far

image

I have the git in its original state and have not made any changes to it. After that I change with cd to the corresponding folder. For the example this would be the folder "_2020".

image

now i try to compile it with manimgl. As I learned in #10, I should not take the community version but the one from @3b1b itself. Ok. Then I do this

image

My proposed solutions

In the issue #10 it was recommended to put the python sktipt in the same folder where the import_py is located. i did that and tried to compile it again. But there the same error occurs as above. What am I doing fundamentally wrong?

My Setup

Enclosed still my version data.

image

And also the Python version.

image

Even if I don't know if it helps, I still give technical data about my system

image

I use Windows 11 with 64 bit and have a WSL2 running Ubuntu 20.04 LTS.

Well. In any case, I hope I have indicated everything correctly and have not embarrassed myself too much. Hopefully you can help me.

With kind regards Riffecx

ghost commented 2 years ago
image

I was able to improve manimgl by reinstalling. I copied the chess.py again into the root folder of the project and compiled it again. Now it does not find the manim imports file although it is directly underneath. What am I doing wrong?

LuisZapataYamo commented 2 years ago

First install what it says here manimgl, the project works with the original. Then you have to run the scene you want from the file it is in with manimgl [archivo] [scene]. The classes with the Scene inheritance class, in the file, are the ones you can place in the command. The problem is that at the moment of executing the files by themselves it does not detect the module. You have to include the path in the files. Add sys.path.append('..') to the files so that when the command is executed it recognizes them. I hope I have helped you

LuisZapataYamo commented 2 years ago

image Add to the path the file containing the scene to be rendered. image

Qinggao1729 commented 1 year ago

image Add to the path the file containing the scene to be rendered. image

Mine saying ModuleNotFoundError: No module named '_2019' image image

LuisZapataYamo commented 1 year ago

Hello, in this case your file is in _2019/diffyq/part5/ so you must include sys.path.append('../../..')

thisiscaau commented 1 year ago

image Add to the path the file containing the scene to be rendered. image

Mine is still saying this. Am I doing anything wrong?

308338730_497420572435457_4097680340146966092_n

310223011_499232038773331_522365692333842530_n

307081492_3971188396338420_4988495932683656600_n