ValueError

41 views
Skip to first unread message

sasan esfandiari

unread,
Jan 16, 2023, 10:27:12 AM1/16/23
to Biogeme
Hello
I followed all the steps according to the tutorial files but still I have the following error.
Thank you.

ValueError Traceback (most recent call last) ~\AppData\Local\Temp\ipykernel_2776\2860945145.py in <module> 1 import pandas as pd ----> 2 import biogeme.database as db 3 import biogeme.biogeme as bio 4 import biogeme.models as models 5 from biogeme.expressions import Beta ~\anaconda3\lib\site-packages\biogeme\database.py in <module> 25 import biogeme.filenames as bf 26 import biogeme.messaging as msg ---> 27 from biogeme import tools 28 from biogeme import draws 29 ~\anaconda3\lib\site-packages\biogeme\tools.py in <module> 18 import biogeme.messaging as msg 19 import biogeme.exceptions as excep ---> 20 from biogeme.expressions import Expression 21 22 logger = msg.bioMessage() ~\anaconda3\lib\site-packages\biogeme\expressions.py in <module> 18 import biogeme.exceptions as excep 19 import biogeme.messaging as msg ---> 20 import biogeme.cythonbiogeme as ee 21 from biogeme.idmanager import IdManager 22 src\cythonbiogeme.pyx in init biogeme.cythonbiogeme() ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Fabiana Peixoto de Mello

unread,
Jan 16, 2023, 11:24:55 AM1/16/23
to Biogeme
Hi,

You have to post code in a readable format, exactly like it visually is in your code editor, otherwise it is very very hard to help you.

In any case, the error you are referring to is not related to Biogeme, but to numpy. There is a troubleshoot for it in Stack Overflow. https://stackoverflow.com/questions/66060487/valueerror-numpy-ndarray-size-changed-may-indicate-binary-incompatibility-exp

Hope it helps,

Fabiana
Reply all
Reply to author
Forward
0 new messages