Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Assistance Needed with Biogeme Installation on Google Colab

102 views
Skip to first unread message

Henry Dao

unread,
Aug 19, 2024, 3:14:13 AM8/19/24
to Biogeme
Dear Prof. Bierlaire,

I am trying to run Biogeme using Google Colab, but I encountered an issue during the installation process. I used the command pip install biogeme, and the installation failed. The error message prompted me to restart the session, but when I clicked on "Restart Session," nothing happened.

Could you please assist me with this issue? I’ve attached a screenshot of the error message for your reference.

Thank you in advance for your help.

Kind regards,
Henry

Untitled.png

Michel Bierlaire

unread,
Aug 19, 2024, 4:04:21 AM8/19/24
to viethu...@gmail.com, Michel Bierlaire, Biogeme
There seems to be so incompatibility among versions of some software...
Recently, a major release of numpy has been published that created incompatibility.
Biogeme has been updated to be compatible with the new version of numpy.
The best thing to do is to install Biogeme in a "clean" environment when nothing else is installed. Biogeme will then install the required packages, with the right release number.
I have no experience with Google Colab, and I do not know how to create environments, but I am sure chatGPT can help you on this.
> <Untitled.png>
> --
> 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 on the web visit https://groups.google.com/d/msgid/biogeme/e623cf5e-a9a9-43ea-b2b3-248923c233b3n%40googlegroups.com.
> <Untitled.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

Henry Dao

unread,
Aug 20, 2024, 3:14:05 AM8/20/24
to Biogeme
Thank you for your prompt reply—I really appreciate it! I successfully installed and ran Biogeme and am excited to explore more about the package.

Christian Hayden Canobra

unread,
Oct 30, 2024, 3:45:18 AM10/30/24
to Biogeme

Hi Henry,

I am currently experiencing the same issues with Google Colab. I have attempted to downgrade NumPy and SciPy to older versions, but without success.

Have you been able to successfully use Biogeme on Colab?

Kind regards,

Christian Hayden

Reply all
Reply to author
Forward
0 new messages