You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @yayuanli! Is there any reason you're building the wheel yourself, rather than using the binary wheels on PyPI? Are you on some particular platform (which might also explain the error)?
From what I can see from the error (thanks for including the full, long error message; extremely useful!), the X11/Xlib.h header is lacking, so one way of solving this is to sudo apt install libx11-dev on your Ubuntu.
However, the larger question/issue is why this dependency is there. I think it's a leftover from using the Praat code, and I actually removed it at some point on my development branch: 6a94d3b. But it seems this hasn't made it into a release yet (as I've hardly had time to work on Parselmouth over the last 2 years, so haven't found time to make new minor release). At any rate it's another option, if you do not wish to install libx11-dev: download the source code of the latest release (https://github.com/YannickJadoul/Parselmouth/tree/v0.4.3), comment out this sendpraat.c in parselmouth/praat/sys/CMakeLists.txt (like in 6a94d3b), and pip install that adapted source folder.
Hi community,
I came across
ERROR: Failed building wheel for praat-parselmouth
when I dopip install praat-parselmouth
orpip install praat-parselmouth==0.4.2
.OS: Ubuntu-22.04.2
Python: 3.10.6
Full output (too long to fit here): google doc
Any idea why this happened and how to solve it? I will appreciate any discussion.
Thank you
The text was updated successfully, but these errors were encountered: