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

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

Closed
1Dung opened this issue Apr 3, 2024 · 9 comments
Closed

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

1Dung opened this issue Apr 3, 2024 · 9 comments
Labels
bug Something isn't working installation Installation issue windows Windows related

Comments

@1Dung
Copy link

1Dung commented Apr 3, 2024

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

@1Dung 1Dung added the question Further information is requested label Apr 3, 2024
@jeertmans jeertmans added installation Installation issue windows Windows related bug Something isn't working and removed question Further information is requested labels Apr 3, 2024
@jeertmans
Copy link
Owner

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

1Dung commented Apr 3, 2024

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

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

@1Dung
Copy link
Author

1Dung commented Apr 3, 2024

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

@jeertmans
Copy link
Owner

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

@1Dung
Copy link
Author

1Dung commented Apr 4, 2024

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

@jeertmans
Copy link
Owner

Ok so this looks like this is a known issue, see samuelcolvin/rtoml#74.

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

@jeertmans jeertmans changed the title Problem installing manim slides Bug: Installation fails when collecting rtoml>=0.9.0 Apr 4, 2024
@jeertmans jeertmans changed the title Bug: Installation fails when collecting rtoml>=0.9.0 [BUG] Installation fails when collecting rtoml>=0.9.0 Apr 4, 2024
@1Dung
Copy link
Author

1Dung commented Apr 4, 2024

It worked successfully, thank you very much.

@jeertmans
Copy link
Owner

Thank you for updating @1Dung :-)

jeertmans added a commit that referenced this issue Jun 12, 2024
* chore(deps): pin `rtoml==0.9.0` on Windows

See #398 and samuelcolvin/rtoml#74.

* chore(ci): trying to fix on Python 3.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working installation Installation issue windows Windows related
Projects
None yet
Development

No branches or pull requests

2 participants