oie-mines-paristech / lca_algebraic

Layer over brightway2 for algebraic definition of parametric models and super fast computation of LCA
BSD 2-Clause "Simplified" License
37 stars 18 forks source link

import lca_algebraic.helpers fail #56

Open gschwind opened 3 months ago

gschwind commented 3 months ago

Hello,

Importing lca_algebraic.helpers from fresh python interpreter fail with:

Python 3.9.19 (main, Apr 25 2024, 16:42:04) 
[GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lca_algebraic.helpers
Using environment variable BRIGHTWAY2_DIR for data directory:
/home/gschwind/projects/x/bw2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/gschwind/projects/x/env/lib/python3.9/site-packages/lca_algebraic/helpers.py", line 16, in <module>
    from .base_utils import (
ImportError: cannot import name '_actDesc' from 'lca_algebraic.base_utils' (/home/gschwind/projects/x/env/lib/python3.9/site-packages/lca_algebraic/base_utils.py)
>>>