Python Help (manim) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Python Help (manim)

So I have been wanting to use a Python animation library called manim. To use it (I am on Windows), I used the command: python -m pip install manimlib Then I pretty much installed all other libraries that are required. Then I come to it pycairo. I get an error saying that I need Microsoft Visual C++ 14.0 That's fine. I went and tried to install it but I only got Microsoft Visual C++ 2015-2019 Redistributable version 14.21.27702. I went ahead to install it and went back to command prompt and rerun the command but to no avail. I tried following instructions from StackOverflow and the library owner's instructions from the GitHub but I can't get rid of that annoying error. Installing the wheel did no help either. What do you recommend that I do? Would love to hear from you guys. Thanks!

28th Jun 2019, 7:31 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
6 Answers
+ 6
Deepak Kumar will Visual Studio 2019 do as well? Because Visual Studio 15 seems a bit outdated.
28th Jun 2019, 7:42 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
Prometheus {#Stand_out_from_the_crowd} 🇸🇬 I got the same problem one day. And I found a answer at stakoverflow mentioning the link for MS C++ build tools. That simply solved my problem. I hope that it will work for you also. This is a part of the Visual studio but you don't have to install VS with that link Gimme few minutes to find that link NOTE: If you are using python 3.8 then there are some problems installing libraries EDIT: https://stackoverflow.com/questions/44951456/pip-error-microsoft-visual-c-14-0-is-required/44953739 (2nd answer) Download this: http://go.microsoft.com/fwlink/?LinkId=691126&fixForIE=.exe
28th Jun 2019, 12:26 PM
Seniru
Seniru - avatar
28th Jun 2019, 12:29 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
Yes it will work too
28th Jun 2019, 7:42 AM
Deepak Kumar
Deepak Kumar - avatar
+ 2
You need to install Visual Studio 15. I also faced this problem and problem solved with installation of Visual Studio. This software already has Microsoft Visual C++ 14.0
28th Jun 2019, 7:39 AM
Deepak Kumar
Deepak Kumar - avatar
+ 1
Check it on youtube https://youtu.be/ZltiKHFWmv8 Follow the steps carefully and make sure you install the python version 3.7 with the appropriate auxiliary apps
29th Oct 2019, 8:11 AM
Konstantinos