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

Modifying requirements.txt to include the latest version of IPython. #2079

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

TangentSquared
Copy link
Contributor

Motivation

I opened cmd and typed manimgl, as expected, a window was created. However, while typing any python code in the shell, the following error was raised:

image

While digging into the issue, i found that the manim library is not compatible with some versions of IPython (i got the error with version 8.14.0 and 8.16.0).
a past question at stackoverflow also confirmed the same.
The solution was to simply upgrade IPython to the latest version pip install ipython --upgrade

Proposed changes

  • Changed requirements.txt to include ipython>=8.18.0. This makes sure that the compatible version of ipython is installed with the manimgl library.

Test

open cmd and type pip install ipython==8.14.0.
after the process is complete, install the modified version of manimgl
while the package is being installed, notice that in one of the steps, the latest version of ipython is also installed.

Now, the ipython version needs to be 8.18.0 or greater
@3b1b
Copy link
Owner

3b1b commented Sep 6, 2024

Good to know, and sorry you had to go through that process.

@3b1b 3b1b merged commit 6b88947 into 3b1b:master Sep 6, 2024
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

Successfully merging this pull request may close these issues.

2 participants