seb added the comment:
I tried that before, also with your command, without success. I saw that the
CFLAGS includes weren't forwarded to the compiler - I don't know if that is
only an issue here on my system. So instead I modified the setup.py and added
the directory manually. It
seb added the comment:
Thanks for the help! I tried the instructions, without success. I installed xz
through homebrew (which needs to be installed on Silicon under /opt/homebrew).
I can confirm the existance of: /opt/homebrew/Cellar/xz/5.2.5/include/lzma.h
I used CPPFLAGS and also modified
seb added the comment:
I am running macOS Big Sur Version 11.1 on Silicon and still get the error
about the missing lzma.h file. I can confirm that I use the latest Python 3.9.1
version which includes the patches of this issue.
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code