Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am too stupid to start the project. #12

Open
ghost opened this issue Nov 20, 2021 · 6 comments
Open

I am too stupid to start the project. #12

ghost opened this issue Nov 20, 2021 · 6 comments

Comments

@ghost
Copy link

ghost commented Nov 20, 2021

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
Copy link
Author

ghost commented Nov 20, 2021

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
Copy link

LuisZapataYamo commented Dec 7, 2021

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
Copy link

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

@Qinggao1729
Copy link

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

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

@LuisZapataYamo
Copy link

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

@thisiscaau
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants