Help

29 views
Skip to first unread message

Bhattarai Dinesh

unread,
Oct 8, 2025, 3:04:15 AMOct 8
to Biogeme
I have been trying to install Biogeme in MAC this error pops up.
Screenshot 2025-10-08 at 11.29.17.png

Michel Bierlaire

unread,
Oct 8, 2025, 3:14:24 AMOct 8
to btraid...@gmail.com, Michel Bierlaire, Biogeme
The issue does not come from Biogeme, but from the installation of the python-Levenshtein package.
Your system is trying to build it from source, and the compilation fails. However, precompiled binaries are available on PyPI:
https://pypi.org/project/python-Levenshtein/

Please check your Python version — it must be 3.10 or later.
Also, make sure to install the package in a clean virtual environment, to avoid conflicts with other installed packages:
https://docs.python.org/3/library/venv.html


> On 8 Oct 2025, at 07:45, Bhattarai Dinesh <btraid...@gmail.com> wrote:
>
> I have been trying to install Biogeme in MAC this error pops up.
>
> --
> You received this message because you are subscribed to the Google Groups "Biogeme" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to biogeme+u...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/biogeme/b1787540-6c39-4247-9c83-4ae2de7caba8n%40googlegroups.com.
> <Screenshot 2025-10-08 at 11.29.17.png>

Michel Bierlaire
Transport and Mobility Laboratory
School of Architecture, Civil and Environmental Engineering
EPFL - Ecole Polytechnique Fédérale de Lausanne
http://transp-or.epfl.ch
http://people.epfl.ch/michel.bierlaire

John Abraham

unread,
Oct 17, 2025, 2:12:19 AMOct 17
to btraid...@gmail.com, Biogeme
Try Python 3.13 or Python 3.12.  Usually when my Mac tries to compile something from source it’s because the compiled release isn’t available yet for the Python I’m using.  Python is a disaster with dependency version management.   

-- 
John Abraham
HBA Specto Incorporated
j...@hbaspecto.com
403-232-1060 

Reply all
Reply to author
Forward
0 new messages