-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hello,
I am trying the brightway2-regional library in Brightway2
I have installed packages required by using conda install as instance:
conda create -y -n ab_dev python=3.8.10 activity-browser-dev brightway2 jupyter
conda activate ab_dev
conda install -y -q fiona rasterio geopandas bw2regional pandarus bw2-lcimpact folium
for the bw2-lcimpact, the 0.1.1 versions has been installed.
So I tested the regionalization tools by running in a jupyter notebok the following commands (after creating a project and installed biosphere3 and ecoinvent 3.7.1 cutoff databases) :
-
- reg.bw2regionalsetup() :
- I got the following errors : HTTPSConnectionPool(host='geograpy.ecoinvent.org', port=443): Max retries exceeded with
url: /files/all-ecoinvent.pkg (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at
0x000001E3B03A9A30>: Failed to establish a new connection [Errno 11001] getaddring failed
- I got the following errors : HTTPSConnectionPool(host='geograpy.ecoinvent.org', port=443): Max retries exceeded with
So, I could solved this problem by catching this errors with try.. except statement in the utils.py files of the bw2data package
and by downloading the files all-
ecoinvent.gpk and countries.gpkg manually - reg.bw2regionalsetup() :
-
-
import_regionalized_lcimpact():
- I got the following error: Can't import data from pandarus remoteSo I tried to identify the origin from this error by removing the try.. except statement catching this error in the main.py file of bw-lcimpact package and I got the following error: HTTPSConnectionPool(host='pandarus.brightwaylca.org', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1131)'))) I upgrade the bw2-lcimpact to the version 0.3.1 by using the command pip install (conda install didn't work), but I got the same error.
-
So I couldn't solve this second problem, because the url "pandarus.brightwaylca.org" seems not to be available.
So I hope my explanation was clear?
Thank you for your help.
Best regards,