+1 vote
887 views
All my modules are version compliant
import openlca2bw as olca2bw
import brightway2 as bw
ImportError: cannot import name 'EXISTING_SYMBOLS' from 'bw2parameters.utils' (d:\python\lib\site-packages\bw2parameters\utils.py)
in openLCA by (330 points)

2 Answers

0 votes
by (7.3k points)

Hi honortao666,

Are you trying to run this script in the openLCA Python editor?

I believe people developing olca2bw might be better suited to help you.

Best,

François

by (7.3k points)
You could find some outdated examples here: https://greendelta.github.io/openLCAJython-manual/examples.html.
We are working on a new version of the manual. It should be released in the first half of next year.
0 votes
ago by (150 points)
Hi, I encountered the same issue. For me, the solution was to make sure I was using Python 3.8 rather than a later version and ensuring that some Brightway-related packages matched the requirements from openlca2bw. Immediately after creating a new virtual environment and only installing openlca2bw via pip, for some reason the wrong package versions of bw2io and bw2parameters were installed.

So for me, the complete installation was:

(creating virtual environment)
pip install openlca2bw
pip install bw2io<0.8.9
pip install bw2parameters==0.6.6

After that, it worked for me :)

Best,
Maria
ask.openLCA is a question-and-answer (Q&A) website on Life Cycle Assessment (LCA).

It is also the public support platform for openLCA, openLCA Nexus and the LCA Collaboration Server.

Before asking questions please also consult our online manuals for openLCA and the LCA Collaboration Server.

Receive guaranteed and prioritised professional support via GreenDelta's help desk.

ask.openLCA is run by GreenDelta, the creators of openLCA.

openLCA

LCA Collaboration Server
...