We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
I am having the shown error at the cell where ecoinvent is imported: Help is greatly appreciated!
AssertionError Traceback (most recent call last) Input In [29], in <cell line: 1>() ----> 1 ei35cut = bw.SingleOutputEcospold2Importer(fpei35cut, 'ecoinvent 3.5_cutoff_ecoSpold02')
File ~\anaconda3\envs\bw2\lib\site-packages\bw2io\importers\ecospold2.py:71, in SingleOutputEcospold2Importer.init(self, dirpath, db_name, extractor, use_mp, signal) 69 start = time() 70 try: ---> 71 self.data = extractor.extract(dirpath, db_name, use_mp=use_mp) 72 except RuntimeError as e: 73 raise MultiprocessingError( 74 "Multiprocessing error; re-run using use_mp=False" 75 ).with_traceback(e.traceback)
use_mp=False
File ~\anaconda3\envs\bw2\lib\site-packages\bw2io\extractors\ecospold2.py:61, in Ecospold2DataExtractor.extract(cls, dirpath, db_name, use_mp) 59 @classmethod 60 def extract(cls, dirpath, db_name, use_mp=True): ---> 61 assert os.path.exists(dirpath) 62 if os.path.isdir(dirpath): 63 filelist = [ 64 filename 65 for filename in os.listdir(dirpath) 66 if os.path.isfile(os.path.join(dirpath, filename)) 67 and filename.split(".")[-1].lower() == "spold" 68 ]
AssertionError:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
I am having the shown error at the cell where ecoinvent is imported:
Help is greatly appreciated!
AssertionError Traceback (most recent call last)
Input In [29], in <cell line: 1>()
----> 1 ei35cut = bw.SingleOutputEcospold2Importer(fpei35cut, 'ecoinvent 3.5_cutoff_ecoSpold02')
File ~\anaconda3\envs\bw2\lib\site-packages\bw2io\importers\ecospold2.py:71, in SingleOutputEcospold2Importer.init(self, dirpath, db_name, extractor, use_mp, signal)
69 start = time()
70 try:
---> 71 self.data = extractor.extract(dirpath, db_name, use_mp=use_mp)
72 except RuntimeError as e:
73 raise MultiprocessingError(
74 "Multiprocessing error; re-run using
use_mp=False
"75 ).with_traceback(e.traceback)
File ~\anaconda3\envs\bw2\lib\site-packages\bw2io\extractors\ecospold2.py:61, in Ecospold2DataExtractor.extract(cls, dirpath, db_name, use_mp)
59 @classmethod
60 def extract(cls, dirpath, db_name, use_mp=True):
---> 61 assert os.path.exists(dirpath)
62 if os.path.isdir(dirpath):
63 filelist = [
64 filename
65 for filename in os.listdir(dirpath)
66 if os.path.isfile(os.path.join(dirpath, filename))
67 and filename.split(".")[-1].lower() == "spold"
68 ]
AssertionError:
The text was updated successfully, but these errors were encountered: