On python3 prepare_data.py get next message:
"python3 prepare_data.py
Traceback (most recent call last):
File "/home/gregory/Work/A1/tmp/cubes/examples/hello_world/prepare_data.py", line 6, in
from cubes.tutorial.sql import create_table_from_csv
File "/home/gregory/.local/lib/python3.10/site-packages/cubes/init.py", line 6, in
from .browser import
File "/home/gregory/.local/lib/python3.10/site-packages/cubes/browser.py", line 8, in
from .calendar import CalendarMemberConverter
File "/home/gregory/.local/lib/python3.10/site-packages/cubes/calendar.py", line 14, in
from .model import Hierarchy
File "/home/gregory/.local/lib/python3.10/site-packages/cubes/model.py", line 11, in
from expressions import inspect_variables
File "/home/gregory/.local/lib/python3.10/site-packages/expressions/init.py", line 1, in
from .compiler import
File "/home/gregory/.local/lib/python3.10/site-packages/expressions/compiler.py", line 6, in
from .grammar import ExpressionParser, ExpressionSemantics
File "/home/gregory/.local/lib/python3.10/site-packages/expressions/grammar.py", line 16, in
from grako.parsing import graken, Parser
File "/home/gregory/.local/lib/python3.10/site-packages/grako/init.py", line 8, in
from grako.tool import compile, parse, to_python_sourcecode
File "/home/gregory/.local/lib/python3.10/site-packages/grako/tool.py", line 17, in
from grako.parser import GrammarGenerator
File "/home/gregory/.local/lib/python3.10/site-packages/grako/parser.py", line 7, in
from grako.semantics import ASTSemantics, EBNFGrammarSemantics
File "/home/gregory/.local/lib/python3.10/site-packages/grako/semantics.py", line 21, in
from grako import grammars
File "/home/gregory/.local/lib/python3.10/site-packages/grako/grammars.py", line 8, in
from collections import defaultdict, Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/init.py)
"
On python3 prepare_data.py get next message: "python3 prepare_data.py Traceback (most recent call last): File "/home/gregory/Work/A1/tmp/cubes/examples/hello_world/prepare_data.py", line 6, in
from cubes.tutorial.sql import create_table_from_csv
File "/home/gregory/.local/lib/python3.10/site-packages/cubes/init.py", line 6, in
from .browser import
File "/home/gregory/.local/lib/python3.10/site-packages/cubes/browser.py", line 8, in
from .calendar import CalendarMemberConverter
File "/home/gregory/.local/lib/python3.10/site-packages/cubes/calendar.py", line 14, in
from .model import Hierarchy
File "/home/gregory/.local/lib/python3.10/site-packages/cubes/model.py", line 11, in
from expressions import inspect_variables
File "/home/gregory/.local/lib/python3.10/site-packages/expressions/init.py", line 1, in
from .compiler import
File "/home/gregory/.local/lib/python3.10/site-packages/expressions/compiler.py", line 6, in
from .grammar import ExpressionParser, ExpressionSemantics
File "/home/gregory/.local/lib/python3.10/site-packages/expressions/grammar.py", line 16, in
from grako.parsing import graken, Parser
File "/home/gregory/.local/lib/python3.10/site-packages/grako/init.py", line 8, in
from grako.tool import compile, parse, to_python_sourcecode
File "/home/gregory/.local/lib/python3.10/site-packages/grako/tool.py", line 17, in
from grako.parser import GrammarGenerator
File "/home/gregory/.local/lib/python3.10/site-packages/grako/parser.py", line 7, in
from grako.semantics import ASTSemantics, EBNFGrammarSemantics
File "/home/gregory/.local/lib/python3.10/site-packages/grako/semantics.py", line 21, in
from grako import grammars
File "/home/gregory/.local/lib/python3.10/site-packages/grako/grammars.py", line 8, in
from collections import defaultdict, Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/init.py)
"