Try to upgrade the versions of numpy and pandas to the latest version, and reinstall biogeme.
If it does not work, create a clean environmenetm and install biogeme using pip.
> On 9 Oct 2023, at 07:56, Yasmeen masry <
princes...@hotmail.com> wrote:
>
> In the 2nd line of my code I got this error:
> AttributeError Traceback (most recent call last) <ipython-input-2-8fc4cd4a7dfe> in <cell line: 4>() 2 import sys 3 #biogeme.database provides a Python class called Database, which is used to load, manipulate, and save databases that are used as inputs for the estimation of discrete choice models. ----> 4 import biogeme.database as db 5 import biogeme.biogeme as bio 6 import biogeme.models as models
> 13 frames
> /usr/local/lib/python3.10/dist-packages/numpy/testing/_private/utils.py in <module> 55 IS_PYSTON = hasattr(sys, "pyston_version_info") 56 HAS_REFCOUNT = getattr(sys, 'getrefcount', None) is not None and not IS_PYSTON ---> 57 HAS_LAPACK64 = numpy.linalg._umath_linalg._ilp64 58 59 _OLD_PROMOTION = lambda: np._get_promotion_state() == 'legacy' AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp6
>
>
> Can anybody help me please how it can be fixed?
> Thank you.
>
> --
> 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/0e7d3462-6568-4dfb-9de4-f13d1b361c84n%40googlegroups.com.
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