3b1b / 3b1b/manim

problem with running animations from out of main manim Folder (navigating to .py file and run)

未关闭
#1,300 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
93.8k
派生
7.7k
PR 合并指标
PR 指标待抓取

描述

EDIT: NOTHING important here.. this appeared not to be an issue but a misunderstanding of how manim works..

i was running manim perfectly even outside manim folder just by referencing the location like this:
`python -m manim "Destination\To\ManimScene.py" sceneName`

but today i just couldn't run anything, and it kept saying "no module named manim", fix this problem and now i just can't run out of manim folder like this screen shot

![image](https://user-images.githubusercontent.com/65380552/103315663-ee2fe780-4a2e-11eb-8296-2976de176403.png)

to the right is running (WriteStuff) example through manim folder cmd.
to the left is running (WriteStuff) example through navigating to manim folder inside cmd.
as you see, the right runs perfectly but i can't run the left.

i reinstalled pycairo multiple times and none worked, tried to install "libcairo-2" by itself but i just couldn't find the right version for python 3.8.6, there simply nothing on the internet for "libcairo-2" specifically.

![image](https://user-images.githubusercontent.com/65380552/103316178-5c28de80-4a30-11eb-8cae-6483e37cd897.png)

so why is this happening? and what is the solution?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。