manimlib installation error on windows
See original GitHub issueUpon executing pip install manimlib
, on windows, the following is seen.
Complete output from command C:\Users\sysad\AppData\Local\Programs\Python\Python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\sysad\\AppData\\Local\\Temp\\pip-install-pe8apgh0\\pycairo\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\sysad\AppData\Local\Temp\pip-record-wtzb25f0\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\cairo
copying cairo\__init__.py -> build\lib.win32-3.7\cairo
copying cairo\__init__.pyi -> build\lib.win32-3.7\cairo
copying cairo\py.typed -> build\lib.win32-3.7\cairo
running build_ext
building 'cairo._cairo' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
Command "C:\Users\sysad\AppData\Local\Programs\Python\Python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\sysad\\AppData\\Local\\Temp\\pip-install-pe8apgh0\\pycairo\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\sysad\AppData\Local\Temp\pip-record-wtzb25f0\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\sysad\AppData\Local\Temp\pip-install-pe8apgh0\pycairo\
The solution for this is already given in the README.md file, which is to install the wheel for newer version of pycario (1.18.0), but how would that work with pip installation? I tried installing the wheel as given in the instructions, but nevertheless, pip installation fails.
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (3 by maintainers)
Top Results From Across the Web
Cannot install this manim lib for python - Stack Overflow
Make sure you used the -r argument in the command, so you do pip3 install -r requirements.txt.
Read more >FAQ: Installation - Manim Community v0.17.1
The latest version of it is available on PyPI as manimlib , but note that if ... I am using Windows and get...
Read more >Manim installation instructions for the workshop Windows 10
Installing manim's python Dependencies ... (In any case if you get an error saying ... In the terminal type: pip3 install manimlib pycairo....
Read more >Installation - manim documentation
If you want to hack on manimlib itself, clone this repository and in that ... and no error message appears, then you have...
Read more >manimlib - PyPI
manimlib 0.2.0. pip install manimlib ... environment using conda env create -f environment.yml; WINDOWS ONLY Install pyreadline via pip install pyreadline .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
建议将操作系统编码改为 utf-8(默认gbk),我win10改编码后安装成功!
As for jpl860, the wheel that worked for me was “pycairo‑1.18.0‑cp37‑cp37m‑win_amd64.whl” I suggest you follow the installation procedure described under “Directly (Windows)” in the main page. The procedure is pretty straightforward and easy to follow, you should be able to install it without much difficulty.