Closed silgon closed 3 years ago
Hi @silgon . Thanks for reporting this.
Can you please try executing this and then trying again?
sudo apt install libpango1.0-0 libpangocairo-1.0-0
It installed already (forgot to mention that on the issue). However I still have the same problem.
By the way. I updated the issue. I realized this happens during the installation of pangocairocff
from manimce
(during manimce
installation). I can install from standard libraries pangocairocff
with pip install pangocairocff
, but the one of the manimce
repository doesn't work.
Thanks @silgon. Unfortunately I am not able to reproduce your problem on my side. Perhaps someone else in @ManimCommunity/linux ?
So, in the end what solved my error was installing the pango
and pycairo==1.11.1
from anaconda repositories, however ffmpeg
from the ubuntu repositories (the one on anaconda was leading to an error with the codecs).
Preliminaries
Description of error
Error appearing at installation
pip install manimce
Installation logs
Terminal output
``` Collecting pangocairocffi<0.4.0,>=0.3.0 (from manimce) ... raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names)) OSError: dlopen() failed to load a library: pango / pango-1 / pango-1.0 / pango-1.0-0 ---------------------------------------- ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-qcd1fskp/pangocairocffi/ ``` Thus, this happens during the installation of `pangocairocff` from `manimce`. I can install from standard libraries `pangocairocff` with `pip install pangocairocff`, but the one of the `manimce` repository doesn't work.System specifications
System Details
- OS: Ubuntu 20.20 - RAM: 16Gb - Python version: Python 3.7.3 (on anaconda) - Installed modules (provide output from `pip list`): ``` Package Version Location --------------------------------- ------------------------ --------------------------------------------------------------- absl-py 0.7.1 alabaster 0.7.12 anytree 2.8.0 apipkg 1.5 appdirs 1.4.4 asn1crypto 0.24.0 astor 0.7.1 astroid 2.3.2 attrs 19.3.0 Babel 2.8.0 backcall 0.1.0 beautifulsoup4 4.9.1 bitarray 1.6.0 bleach 3.1.0 blis 0.2.4 bokeh 1.4.0 boto 2.49.0 boto3 1.12.12 botocore 1.15.12 Brotli 1.0.7 bson 0.5.10 bz2file 0.98 cairocffi 1.2.0 certifi 2020.6.20 cffi 1.12.3 cfgv 3.2.0 chardet 3.0.4 click 7.1.2 cloudpickle 1.2.2 colormath 3.0.0 colour 0.1.5 contextlib2 0.6.0.post1 coverage 5.3 cryptography 2.7 curlify 2.2.1 cvxopt 1.2.0 cvxpy 1.1.5 cycler 0.10.0 cymem 2.0.2 cytoolz 0.9.0.1 dash 1.17.0 dash-auth 1.3.2 dash-bootstrap-components 0.10.3 dash-core-components 1.13.0 dash-html-components 1.1.1 dash-renderer 1.8.3 dash-table 4.11.0 dask 2.3.0 decorator 4.4.0 defusedxml 0.6.0 dimod 0.9.5 distlib 0.3.1 docutils 0.15.2 dwave-networkx 0.8.6 dwavebinarycsp 0.1.2 ecos 2.0.7.post1 editdistance 0.5.3 en-core-web-md 2.1.0 en-core-web-sm 2.1.0 entrypoints 0.3 et-xmlfile 1.0.1 execnet 1.7.1 fastcache 1.1.0 filelock 3.0.12 flake8 3.8.4 Flask 1.1.2 Flask-Compress 1.5.0 Flask-Cors 3.0.9 Flask-SeaSurf 0.2.2 fr-core-news-sm 2.1.0 frozendict 1.2 future 0.18.2 gast 0.2.2 gensim 3.8.1 gmpy2 2.0.8 google-pasta 0.1.7 googletrans 3.0.0 grpcio 1.16.1 h11 0.9.0 h2 3.2.0 h5py 2.8.0 homebase 1.0.1 hpack 3.0.0 hstspreload 2020.10.20 httpcore 0.9.1 httpx 0.13.3 hyperframe 5.2.0 identify 1.5.5 idna 2.8 imageio 2.5.0 imagesize 1.2.0 importlib-metadata 1.7.0 inflect 5.0.2 iniconfig 1.0.1 ipykernel 5.1.4 ipython 7.5.0 ipython-genutils 0.2.0 ipywidgets 7.5.1 isort 4.3.21 itsdangerous 1.1.0 jdcal 1.4.1 jedi 0.13.3 Jinja2 2.11.2 jmespath 0.9.4 joblib 0.13.2 jsonschema 3.2.0 jupyter 1.0.0 jupyter-client 6.0.0 jupyter-console 6.1.0 jupyter-contrib-core 0.3.3 jupyter-core 4.6.1 jupyter-nbextensions-configurator 0.4.1 Keras-Applications 1.0.8 Keras-Preprocessing 1.1.0 kiwisolver 1.1.0 lazy-object-proxy 1.4.2 llvmlite 0.31.0 lxml 4.5.1 Markdown 3.1.1 MarkupSafe 1.1.1 matplotlib 3.0.3 mccabe 0.6.1 mistune 0.8.4 mkl-fft 1.0.15 mkl-random 1.1.0 mkl-service 2.3.0 mock 2.0.0 more-itertools 8.5.0 mpmath 1.1.0 msgpack 0.6.1 msgpack-numpy 0.4.3.2 murmurhash 1.0.2 nbconvert 5.6.1 nbformat 5.0.4 networkx 2.3 nodeenv 1.5.0 notebook 6.0.3 numba 0.48.0 numpy 1.17.3 olefile 0.46 openpyxl 3.0.4 opt-einsum 3.1.0 osqp 0.6.1 packaging 20.4 pandas 1.1.0 pandocfilters 1.4.2 pangocffi 0.8.0 parso 0.4.0 path 15.0.0 pbr 5.1.3 penaltymodel 0.16.3 penaltymodel-cache 0.4.1 penaltymodel-lp 0.1.3 penaltymodel-maxgap 0.5.3 pexpect 4.7.0 pickleshare 0.7.5 Pillow 6.2.1 pip 19.1.1 plac 0.9.6 plotly 4.8.2 pluggy 0.13.1 ply 3.11 pre-commit 2.7.1 preshed 2.0.1 prometheus-client 0.7.1 prompt-toolkit 2.0.9 protobuf 3.8.0 ptyprocess 0.6.0 py 1.9.0 py4j 0.10.7 pycodestyle 2.6.0 pycparser 2.19 pyflakes 2.2.0 Pygments 2.4.0 pylint 2.4.3 pymzn 0.11.2 pyOpenSSL 19.0.0 pyparsing 2.4.0 pyrsistent 0.16.0 PyScaffold 3.2.3 PySMT 0.8.0 PySocks 1.7.0 pyspark 2.4.4 pysym 0.2.3 pytest 6.1.1 pytest-cov 2.10.1 pytest-fixture-config 1.7.0 pytest-forked 1.2.0 pytest-shutil 1.7.0 pytest-virtualenv 1.7.0 pytest-xdist 2.1.0 python-dateutil 2.8.0 pytz 2019.1 PyWavelets 1.0.3 PyYAML 5.3.1 pyzmq 18.1.1 qtconsole 4.7.1 QtPy 1.9.0 requests 2.22.0 retrying 1.3.3 rfc3986 1.4.0 rita-dsl 0.6.11 s3transfer 0.3.3 schema 0.7.3 scikit-image 0.15.0 scikit-learn 0.22.1 scikit-video 1.1.11 scipy 1.3.1 scs 2.1.2 seaborn 0.10.0 selenium 3.141.0 Send2Trash 1.5.0 setproctitle 1.1.10 setuptools 41.0.1 six 1.12.0 smart-open 1.9.0 sniffio 1.2.0 snowballstemmer 2.0.0 soupsieve 2.0.1 spacy 2.1.8 Sphinx 3.2.1 sphinx-rtd-theme 0.5.0 sphinxcontrib-applehelp 1.0.2 sphinxcontrib-devhelp 1.0.2 sphinxcontrib-htmlhelp 1.0.3 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.3 sphinxcontrib-serializinghtml 1.1.4 SQLAlchemy 1.3.5 srsly 1.0.0 sympy 1.6.2 tensorboard 2.0.0 tensorflow 2.0.0 tensorflow-estimator 2.0.0 termcolor 1.1.0 terminado 0.8.3 testpath 0.4.4 thinc 7.0.8 toml 0.10.1 toolz 0.10.0 torch 1.0.0 tornado 6.0.2 tqdm 4.32.1 traitlets 4.3.2 ua-parser 0.10.0 ujson 1.35 Unidecode 1.1.1 urllib3 1.24.2 virtualenv 20.0.20 wasabi 0.6.0 wcwidth 0.1.7 webencodings 0.5.1 Werkzeug 0.15.2 wheel 0.33.4 widgetsnbextension 3.5.1 wordcloud 1.7.0 wrapt 1.12.1 xlrd 1.2.0 XlsxWriter 1.3.3 zipp 3.1.0 ```LaTeX details
+ LaTeX distribution (e.g. TeX Live 2020): texlive-full + Installed LaTeX packages: ii texlive 2019.20200218-1 all TeX Live: A decent selection of the TeX Live packages ii texlive-base 2019.20200218-1 all TeX Live: Essential programs and files ii texlive-bibtex-extra 2019.202000218-1 all TeX Live: BibTeX additional styles ii texlive-binaries 2019.20190605.51237-3build2 amd64 Binaries for TeX Live ii texlive-extra-utils 2019.202000218-1 all TeX Live: TeX auxiliary programs ii texlive-font-utils 2019.202000218-1 all TeX Live: Graphics and font utilities ii texlive-fonts-extra 2019.202000218-1 all TeX Live: Additional fonts ii texlive-fonts-extra-doc 2019.202000218-1 all TeX Live: Documentation files for texlive-fonts-extra ii texlive-fonts-extra-links 2019.202000218-1 all TeX Live: ii texlive-fonts-recommended 2019.20200218-1 all TeX Live: Recommended fonts ii texlive-fonts-recommended-doc 2019.20200218-1 all TeX Live: Documentation files for texlive-fonts-recommended ii texlive-formats-extra 2019.202000218-1 all TeX Live: Additional formats ii texlive-full 2019.20200218-1 all TeX Live: metapackage pulling in all components of TeX Live ii texlive-games 2019.202000218-1 all TeX Live: Games typesetting ii texlive-humanities 2019.202000218-1 all TeX Live: Humanities packages ii texlive-humanities-doc 2019.202000218-1 all TeX Live: Documentation files for texlive-humanities ii texlive-lang-arabic 2019.20200218-1 all TeX Live: Arabic ii texlive-lang-chinese 2019.20200218-1 all TeX Live: Chinese ii texlive-lang-cjk 2019.20200218-1 all TeX Live: Chinese/Japanese/Korean (base) ii texlive-lang-cyrillic 2019.20200218-1 all TeX Live: Cyrillic ii texlive-lang-czechslovak 2019.20200218-1 all TeX Live: Czech/Slovak ii texlive-lang-english 2019.20200218-1 all TeX Live: US and UK English ii texlive-lang-european 2019.20200218-1 all TeX Live: Other European languages ii texlive-lang-french 2019.20200218-1 all TeX Live: French ii texlive-lang-german 2019.20200218-1 all TeX Live: German ii texlive-lang-greek 2019.20200218-1 all TeX Live: Greek ii texlive-lang-italian 2019.20200218-1 all TeX Live: Italian ii texlive-lang-japanese 2019.20200218-1 all TeX Live: Japanese ii texlive-lang-korean 2019.20200218-1 all TeX Live: Korean ii texlive-lang-other 2019.20200218-1 all TeX Live: Other languages ii texlive-lang-polish 2019.20200218-1 all TeX Live: Polish ii texlive-lang-portuguese 2019.20200218-1 all TeX Live: Portuguese ii texlive-lang-spanish 2019.20200218-1 all TeX Live: Spanish ii texlive-latex-base 2019.20200218-1 all TeX Live: LaTeX fundamental packages ii texlive-latex-base-doc 2019.20200218-1 all TeX Live: Documentation files for texlive-latex-base ii texlive-latex-extra 2019.202000218-1 all TeX Live: LaTeX additional packages ii texlive-latex-extra-doc 2019.202000218-1 all TeX Live: Documentation files for texlive-latex-extra ii texlive-latex-recommended 2019.20200218-1 all TeX Live: LaTeX recommended packages ii texlive-latex-recommended-doc 2019.20200218-1 all TeX Live: Documentation files for texlive-latex-recommended ii texlive-luatex 2019.20200218-1 all TeX Live: LuaTeX packages ii texlive-metapost 2019.20200218-1 all TeX Live: MetaPost and Metafont packages ii texlive-metapost-doc 2019.20200218-1 all TeX Live: Documentation files for texlive-metapost ii texlive-music 2019.202000218-1 all TeX Live: Music packages ii texlive-pictures 2019.20200218-1 all TeX Live: Graphics, pictures, diagrams ii texlive-pictures-doc 2019.20200218-1 all TeX Live: Documentation files for texlive-pictures ii texlive-plain-generic 2019.202000218-1 all TeX Live: Plain (La)TeX packages ii texlive-pstricks 2019.202000218-1 all TeX Live: PSTricks ii texlive-pstricks-doc 2019.202000218-1 all TeX Live: Documentation files for texlive-pstricks ii texlive-publishers 2019.202000218-1 all TeX Live: Publisher styles, theses, etc. ii texlive-publishers-doc 2019.202000218-1 all TeX Live: Documentation files for texlive-publishers ii texlive-science 2019.202000218-1 all TeX Live: Mathematics, natural sciences, computer science packages ii texlive-science-doc 2019.202000218-1 all TeX Live: Documentation files for texlive-science ii texlive-xetex 2019.20200218-1 all TeX Live: XeTeX and packagesFFMPEG
Output of `ffmpeg -version`: ``` ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7.2.0 (crosstool-NG fa8859cb) configuration: --prefix=/home/fogg/anaconda/envs/generic --cc=/opt/conda/conda-bld/ffmpeg_1531088893642/_build_env/bin/x86_64-conda_cos6-linux-gnu-cc --disable-doc --enable-shared --enable-static --enable-zlib --enable-pic --enable-gpl --enable-version3 --disable-nonfree --enable-hardcoded-tables --enable-avresample --enable-libfreetype --disable-openssl --disable-gnutls --enable-libvpx --enable-pthreads --enable-libopus --enable-postproc --disable-libx264 libavutil 56. 14.100 / 56. 14.100 libavcodec 58. 18.100 / 58. 18.100 libavformat 58. 12.100 / 58. 12.100 libavdevice 58. 3.100 / 58. 3.100 libavfilter 7. 16.100 / 7. 16.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 1.100 / 5. 1.100 libswresample 3. 1.100 / 3. 1.100 libpostproc 55. 1.100 / 55. 1.100 ```Additional comments