Open taneugene opened 2 months ago
In bw2io/importers/ecoinvent_lcia.py, lines 18-24.
class EcoinventLCIAImporter(LCIAImporter): def __init__(self, biosphere_database: str | None = None):
The | None = None format isn't compatible with Python versions <3.10, and brightway is supposed to be compatible with python versions >= 3.8.
| None = None
Is there a way to fix this, perhaps just by taking it out?
Hi, I have the same problem. I tried with python 3.9.13 and with python 3.12.3. Any ideas for fixes, yet?
Are you using brightway2 or brightway25?
In bw2io/importers/ecoinvent_lcia.py, lines 18-24.
The
| None = None
format isn't compatible with Python versions <3.10, and brightway is supposed to be compatible with python versions >= 3.8.Is there a way to fix this, perhaps just by taking it out?