-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ecoinvent importer failing with bw2io=0.8.10
#1137
Comments
Hi! I am experiencing the same issue, but with importing Ecoinvent 3.7.1. I managed to import v3.9.1 but when trying to import v3.7.1, I get a window saying that "The import failed as required biosphere exchanges are missing from the biosphere3 database. Please update the biosphere by using 'File' -> 'Update biosphere...'". I tried to update the biosphere but the issue remains. Thank you in advance! |
Hi Sanna, While we work on a proper solution, I suggest this temporary solution:
|
Hi Marc,
Ok great, thank you! I will try that.
Best,
Sanna
From: Marc van der Meide ***@***.***>
Date: Wednesday, 29 November 2023 at 16:35
To: LCA-ActivityBrowser/activity-browser ***@***.***>
Cc: Sanna Wickerts ***@***.***>, Comment ***@***.***>
Subject: Re: [LCA-ActivityBrowser/activity-browser] ecoinvent importer failing with `bw2io=0.8.10` (Issue #1137)
Hi Sanna,
While we work on a proper solution, I suggest this temporary solution:
1. Create a new environment with conda create -n ab28 -c conda-forge activity-browser=2.8.0 bw2io=0.8.8 (don't worry, all your databases and projects are safe)
2. In the new ab28 environment, create a new project, import the biosphere and import the database there
3. You can now use your normal environment again to work with your 3.7.1 project/database
—
Reply to this email directly, view it on GitHub<#1137 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVTG5MUPUEWXBAH4WHHMXUDYG5I27AVCNFSM6AAAAAA7X6VZG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSGE2DOOJQGE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Hi again, Unfortunately, I don't think it worked? I am not sure as I am very new to coding and Brightway. Here is the code: Last login: Thu Nov 30 08:21:36 on console
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
(base) CM-C02Z24VLL412:~ sannajo$ conda create -n ab28 -c conda-forge activity-browser=2.8.0 bw2io=0.8.8
Error while loading conda entry point: conda-libmamba-solver (dlopen(/Users/sannajo/anaconda3/lib/python3.11/site-packages/libmambapy/bindings.cpython-311-darwin.so, 0x0002): Library not loaded: @rpath/libarchive.19.dylib
Referenced from: <4F399D22-A23C-3D44-9152-8ED3D55C3724> /Users/sannajo/anaconda3/lib/libmamba.2.0.0.dylib
Reason: tried: '/Users/sannajo/anaconda3/lib/libarchive.19.dylib' (no such file), '/Users/sannajo/anaconda3/lib/python3.11/site-packages/libmambapy/../../../libarchive.19.dylib' (no such file), '/Users/sannajo/anaconda3/lib/python3.11/site-packages/libmambapy/../../../libarchive.19.dylib' (no such file), '/Users/sannajo/anaconda3/bin/../lib/libarchive.19.dylib' (no such file), '/Users/sannajo/anaconda3/bin/../lib/libarchive.19.dylib' (no such file), '/usr/local/lib/libarchive.19.dylib' (no such file), '/usr/lib/libarchive.19.dylib' (no such file, not in dyld cache))
CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic
(base) CM-C02Z24VLL412:~ sannajo$ |
@haasad Could you look at the solver issue above when you have time? |
Most likely an old conda version. You can update conda with this command:
After that the install command should run. @marc-vdm IIRC there used to be a section about keeping the conda version up to date in the README, looks like that got lost somewhere along the way |
Hi @sannawi Your issue will be resolved in the next version of Activity Browser ( Keep an eye out on the updates mailing list or the releases page to see when it becomes available. |
Originally posted by @AdelineJerome in #1135
Eventual solution was installing AB
2.8.0
which usesbw2io=0.8.9
conda create -n ab28 -c conda-forge activity-browser=2.8.0
Current package list
The text was updated successfully, but these errors were encountered: