ManimCommunity / ManimPango

Binding for Pango, to use with Manim.
https://manimpango.manim.community
MIT License
41 stars 13 forks source link

Problem with MANIM installation. #94

Closed Naisvk closed 1 year ago

Naisvk commented 1 year ago

I'm a newbie to the community here; I may need help in installing the MANIM software, which follows:

  #clang: error: no such file or directory: 'manimpango/cmanimpango.c'
  clang: error: no input files
  error: command '/usr/bin/clang' failed with exit code 1
  [end of output]
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for **manimpango**
  Failed to build manimpango
  ERROR: Could not build wheels for **manimpango**, which is required to install pyproject.toml-based projects
rtfb commented 1 year ago

I'm observing the same on an M1 Mac, with OSX v12.4, Python v3.10.7 and pip v22.2.2. Same happens if I pip3 install manimpango, and pip3 install . from master.

ad-chaos commented 1 year ago

Please join the server https://discord.gg/CKqCdhqN, its much easier to talk and debug there.

I'll update any solution here if we manage to come to one.

y-mx-b commented 1 year ago

I had the same issue and then it was resolved after installing Cython manually with pip install Cython. Not sure what happened or why, but it worked. This was also only an issue for me on Python 3.10, I was able to install Manim/ManimPango just fine on 3.9.

rtfb commented 1 year ago

Thanks a lot for a tip, @y-mx-b, installing Cython helped!

@Naisvk, try it out as well.

Naisvk commented 1 year ago

Huh, it actually works. Thanks so much for your trick, @y-mx-b!

ad-chaos commented 1 year ago

If anyone in the future is seeing this, please don't install cython and come join the discord server 😅