Failed building wheel for biopython

Hi I am trying to install Graphlan on a Mac. I have chance the shell to Bash, running on M2, Sonoma 14.0, and python 3. However I am getting the following error and hoping someone can help me.

Seems to be a problem with building the wheel. I tried to install wheel (pip3 install wheel) but that did not help.


  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
Successfully built graphlan
Failed to build biopython
ERROR: Could not build wheels for biopython, which is required to install pyproject.toml-based projects

1 Like

Hi, were you able to solve it? running in circle problems like this to install Graphlan in MacBook Intel with Ventura.