Modifying requirements.txt to include the latest version of IPython. #2079
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: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
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.