3b1b / manim

Animation engine for explanatory math videos
MIT License
70.1k stars 6.17k forks source link

ManimGL command doesn't work in windows 11 #1837

Open HoweraProjects opened 2 years ago

HoweraProjects commented 2 years ago

The Bug

On an Windows 11 machine with pip 22.1.2 and Python 3.10.4, I ran pip install manimgl and manimgl but nothing showed up. Instead...

Code

As shown above and within official instructions of Manim. Wrong display or Error traceback:

C:\Users\chian\AppData\Local\Programs\Python\Python310\lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
ManimGL v1.6.1
[21:16:14] INFO     Using the default configuration file, which you can modify in `c:\users\chian\appdata\ config.py:265
                    local\programs\python\python310\lib\site-packages\manimlib\default_config.yml`
           INFO     If you want to create a local configuration file, you can create a file named          config.py:266
                    `custom_config.yml`, or run `manimgl --config`
           WARNING  You may be using Windows platform and have not specified the path of                   config.py:232
                    `temporary_storage`, which may cause OSError. So it is recommended to specify the
                    `temporary_storage` in the config file (.yml)
[21:16:15] INFO     Tips: Now the embed iPython terminal is open. But you can't interact with the window    scene.py:152
                    directly. To do so, you need to type `touch()` or `self.interact()`
Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.4.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]:
(process:23644): GLib-GIO-WARNING **: 21:16:15.668: Unexpectedly, UWP app `Clipchamp.Clipchamp_2.3.4.0_neutral__yxz26nhyzhsrt' (AUMId `Clipchamp.Clipchamp_yxz26nhyzhsrt!App') supports 41 extensions but has no verbs

(process:23644): GLib-GIO-WARNING **: 21:16:15.809: Unexpectedly, UWP app `51456GRIDGAME.APKForWin11_1.2022.2119.0_x64__g94vhgmp24j9g' (AUMId `51456GRIDGAME.APKForWin11_g94vhgmp24j9g!App') supports 3 extensions but has no verbs

After which the opened window crashed.

Acpear commented 2 years ago

It seems that the two UWP apps shown on the logs have some strange relationships with ManimGL, I searched the Internet several days ago, and there do exists that some programs have conflict with such UWPs, However, unfortunately I found the way to solve this type problem about UWP errors is only to uninstall them from your computer, which is not a good method to solve these problems. It is acceptable if you don't use the two apps, remove them from your PC.

Logickin-Lambda commented 4 months ago

Sadly, mine is conflicted with Outlook and ScreenSketch by Microsoft and I don't think I should remove them just to use the library.

myudak commented 3 weeks ago

hey is this solved??? i still encounter this exact error