jeertmans / manim-slides

Tool for live presentations using manim
https://manim-slides.eertmans.be
MIT License
419 stars 46 forks source link

[BUG] Installation fails when collecting `rtoml>=0.9.0` #398

Closed 1Dung closed 3 months ago

1Dung commented 3 months ago

Please explain the issue you're experiencing (with as much detail as possible):

Today I installed manim slides for a friend, with python version 3.11.8. I tried to install using pip: "pip install manim-slides". And I get the following error. I searched a lot for information but couldn't find a solution. How to fix that? issue

jeertmans commented 3 months ago

Hello, thanks for posting the issue here!

The problem seems to come from rtoml, which should ship pre-built binary wheels for most platforms (including Windows). But it looks like it is not able to find such pre-built wheels, and thus it tries to build (hence the Rust compilation) them locally, and fails because you do not have Rust installed.

Can you confirm that this is the problem by trying: pip install rtoml==0.10.0?

Also, can you provide more information about your Windows version?

1Dung commented 3 months ago

Thank you for responding. I tried to run: pip install rtoml==0.10.0 but this is the result I got. I am using window11. issue2

jeertmans commented 3 months ago

The picture does not load: did you correctly upload it?

1Dung commented 3 months ago

Yes, I re-uploaded it. It's too late now, I'll respond to your help tomorrow. Thank you very much.

jeertmans commented 3 months ago

Thanks, but was asking for the specific windows version (which you can obtain as described in the link above) :-)

1Dung commented 3 months ago

Yes, this is the version of windows in use. window_ver

jeertmans commented 3 months ago

Ok so this looks like this is a known issue, see https://github.com/samuelcolvin/rtoml/issues/74.

A solution might be to pip install rtoml==0.9.0. Then, pip install manim-slides should work. Can you try?

1Dung commented 3 months ago

It worked successfully, thank you very much.

jeertmans commented 3 months ago

Thank you for updating @1Dung :-)