ImportError: cannot import name 'database' from 'scenarios'

26 views
Skip to first unread message

Fabiana Peixoto de Mello

unread,
Dec 31, 2022, 3:43:51 PM12/31/22
to Biogeme
I am using Biogeme 3.10. I am getting this error while trying to import scenarios.

from scenarios import (
    database,
    normalizedWeight,
)

--------------------------------------------------------------------------- ImportError Traceback (most recent call last) ~\AppData\Local\Temp\ipykernel_44232\978058620.py in <module> 16 import matplotlib.pyplot as plt 17 from biogeme.expressions import Derive ---> 18 from scenarios import ( 19 database, 20 normalizedWeight, ImportError: cannot import name 'database' from 'scenarios' (C:\Users\......\AppData\Roaming\Python\Python39\site-packages\scenarios\__init__.py)



Reply all
Reply to author
Forward
0 new messages