I just installed brightway2 and I am trying to import the ecoinvent 3.5 database. I'm using the lines from the "how to get started" notebook:
from brightway2 import *
load ecoinvent db
ei35default = SingleOutputEcospold2Importer( r"C:\Users\name\Desktop\LCA\resources\ecoinvent v3.5\APOS\datasets", "ecoinvent 3.5 APOS" )
The code starts and shows a message:
Extracting XML data from 16045 datasets
Shortly after the following error pops up:
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\multiprocessing\process.py", line 105, in start self._popen = self._Popen(self)
RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. This probably means that you are not using fork to start your child processes and you have forgotten to use the proper idiom in the main module: if name == 'main': freeze_support() ... The "freeze_support()" line can be omitted if the program is not going to be frozen to produce an executable.
The code keeps running, showing the same error over and over again. I let it run for an hour, then I aborted. There seems to be some problem with the parallelization. Any ideas on how to fix it?
I am using Python 3.6 in the Pycharm IDE on Windows.