-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I created and exported the file of one SSP scenario and tried to import it in calculation of the model. But I got this error:
Is there any way to solve it?
Traceback (most recent call last):
File "C:\Users\10095\anaconda3\envs\ab\Lib\site-packages\activity_browser\bwutils\superstructure\utils.py", line 81, in wrapper
result = func(*args)
^^^^^^^^^^^
File "C:\Users\10095\anaconda3\envs\ab\Lib\site-packages\activity_browser\layouts\tabs\LCA_setup.py", line 605, in load_action
df = ABCSVImporter.read_file(path, separator=separator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\10095\anaconda3\envs\ab\Lib\site-packages\activity_browser\bwutils\superstructure\file_imports.py", line 223, in read_file
df = pd.read_csv(
^^^^^^^^^^^^
File "C:\Users\10095\anaconda3\envs\ab\Lib\site-packages\pandas\io\parsers\readers.py", line 1026, in read_csv
return _read(filepath_or_buffer, kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\10095\anaconda3\envs\ab\Lib\site-packages\pandas\io\parsers\readers.py", line 626, in _read
return parser.read(nrows)
^^^^^^^^^^^^^^^^^^
File "C:\Users\10095\anaconda3\envs\ab\Lib\site-packages\pandas\io\parsers\readers.py", line 1923, in read
) = self._engine.read( # type: ignore[attr-defined]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\10095\anaconda3\envs\ab\Lib\site-packages\pandas\io\parsers\c_parser_wrapper.py", line 234, in read
chunks = self._reader.read_low_memory(nrows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pandas/_libs/parsers.pyx", line 838, in pandas._libs.parsers.TextReader.read_low_memory
File "pandas/_libs/parsers.pyx", line 921, in pandas._libs.parsers.TextReader._read_rows
File "pandas/_libs/parsers.pyx", line 1045, in pandas._libs.parsers.TextReader._convert_column_data
File "pandas/_libs/parsers.pyx", line 2116, in pandas._libs.parsers._apply_converter
File "C:\Users\10095\anaconda3\envs\ab\Lib\ast.py", line 64, in literal_eval
node_or_string = parse(node_or_string.lstrip(" \t"), mode='eval')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\10095\anaconda3\envs\ab\Lib\ast.py", line 50, in parse
return compile(source, filename, mode, flags,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 0
SyntaxError: invalid syntax