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

Manim issue #108

Open
Morwan2 opened this issue Nov 30, 2024 · 4 comments
Open

Manim issue #108

Morwan2 opened this issue Nov 30, 2024 · 4 comments

Comments

@Morwan2
Copy link

Morwan2 commented Nov 30, 2024

When i do the manim side view thingy its says

Manim Extension XTerm
Serves as a terminal for logging purpose.

Extension Version 0.2.16

MSV c:\Users\LENOVO\Desktop\Code>"c:\Users\LENOVO\miniforge3\envs\my-manim-environment\Scripts\manim" "c:\Users\LENOVO\Desktop\Code\main.py" FibonacciSequence
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "c:\Users\LENOVO\miniforge3\envs\my-manim-environment\Scripts\manim.exe_main
.py", line 4, in
from manim.main import main
File "C:\Users\LENOVO\miniforge3\envs\my-manim-environment\Lib\site-packages\manim_init
.py", line 13, in
from .config import *
File "C:\Users\LENOVO\miniforge3\envs\my-manim-environment\Lib\site-packages\manim_config_init
.py", line 7, in
from .logger_utils import make_logger
File "C:\Users\LENOVO\miniforge3\envs\my-manim-environment\Lib\site-packages\manim_config\logger_utils.py", line 21, in
from rich import color, errors
ModuleNotFoundError: No module named 'rich'
[24304] Execution returned code=1 in 0.912 seconds returned signal null

please help

@uwezi
Copy link

uwezi commented Nov 30, 2024

I would say that this is a clear error message, you are missing the rich Python library, which is imported as
from rich import color, errors

Normally such dependencies should be automatically installed when you install Manim, but since I don't know more about your system or how you installed Manim I can not even guess what went wrong.

You seem to be using a miniconda environment - apart from having heard about it, I don't know how its managed, but you should somehow be able to add the missing dependency using pip install rich

https://pypi.org/project/rich/

@Morwan2
Copy link
Author

Morwan2 commented Nov 30, 2024

I installed manim using conda because i cant use choco or scoop

@Morwan2
Copy link
Author

Morwan2 commented Nov 30, 2024

Its mostly about the side manim view extension for vs code thingy when I do it from the terminal to export it its fine

@Rickaym
Copy link
Owner

Rickaym commented Dec 1, 2024

Its mostly about the side manim view extension for vs code thingy when I do it from the terminal to export it its fine

I suspect you're running different environments. Make sure that all the required packages are installed in my-manim-environment.

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