Installation graphlan

I am not sure this has been quite answered in the previous posts as well. I have this issue with installing graphaln. I get this error.

include/python3.12 -c Bio/triemodule.c -o build/temp.macosx-10.9-x86_64-cpython-312/Bio/triemodule.o
Bio/triemodule.c:837:25: error: expression is not assignable
Py_TYPE(&Trie_Type) = &PyType_Type;
~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
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 biopython
Running clean for biopython
Failed to build biopython
ERROR: Could not build wheels for biopython, which is required to install pyproject.toml-based projects

Hi @Shwetha_Kumar ,
Thank you for reaching out to the bioBakery Lab. Can you please try the conda graphlan installation rather than PyPi please? It looks like a compile install issue on the PyPi side.


I think I tried installing using

. I think there are compatibility issues because the package needs dependencies from two versions of python (that’s what I understood). I think this was posted as an issue on the repo