Score:-1

error in manim installation

it flag

So i want to install manim but am getting this error
So please help as I am not able to figure it out.

ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /tmp/tmpvx199e2d get_requires_for_build_wheel /tmp/tmptv71zdwi
       cwd: /tmp/pip-install-411d2dl3/manimpango
  Complete output (33 lines):
  Package pangocairo was not found in the pkg-config search path.
  Perhaps you should add the directory containing `pangocairo.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'pangocairo' found
  Traceback (most recent call last):
    File "setup.py", line 130, in check_min_version
      check_call(command, stdout=subprocess.DEVNULL)
    File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['pkg-config', '--print-errors', '--atleast-version', '1.30.0', 'pangocairo']' returned non-zero exit status 1.
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/tmp/tmpvx199e2d", line 280, in <module>
      main()
    File "/tmp/tmpvx199e2d", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/tmp/tmpvx199e2d", line 114, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/tmp/pip-build-env-h749zzef/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 161, in get_requires_for_build_wheel
      return self._get_build_requires(
    File "/tmp/pip-build-env-h749zzef/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 142, in _get_build_requires
      self.run_setup()
    File "/tmp/pip-build-env-h749zzef/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 266, in run_setup
      super(_BuildMetaLegacyBackend,
    File "/tmp/pip-build-env-h749zzef/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 157, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 197, in <module>
      _pkg_config_pangocairo.check_min_version(MINIMUM_PANGO_VERSION)
    File "setup.py", line 133, in check_min_version
      raise RequiredDependencyException(f"{self.name} >= {version} is required")
  __main__.RequiredDependencyException: pangocairo >= 1.30.0 is required
  ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /tmp/tmpvx199e2d get_requires_for_build_wheel /tmp/tmptv71zdwi Check the logs for full command output.

Knud Larsen avatar
by flag
pangocairo.pc : `sudo apt install libpango1.0-dev` ......... `pip(3) install manimgl`: No errors. .... Please see https://github.com/3b1b/manim ....... and `apt-file search pangocairo.pc` ... or the on-line search https://packages.ubuntu.com/search?suite=focal&arch=amd64&mode=filename&searchon=contents&keywords=pangocairo.pc
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.