>>> import rknn.api import RKNN
File "<stdin>", line 1
import rknn.api import RKNN
^
SyntaxError: invalid syntax
>>> from rknn.api import RKNN
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/toybrick/.local/lib/python3.6/site-packages/rknn/api/__init__.py", line 1, in <module>
from rknn.api.rknn import RKNN
File "/home/toybrick/.local/lib/python3.6/site-packages/rknn/api/rknn.py", line 15, in <module>
from .rknn_base import RKNNBase
File "rknn/api/rknn_base.py", line 14, in init rknn.api.rknn_base
File "/home/toybrick/.local/lib/python3.6/site-packages/rknn/base/acuitylib/__init__.py", line 1, in <module>
from acuitylib.optimize.optimizer import Optimizer
File "/home/toybrick/.local/lib/python3.6/site-packages/rknn/base/acuitylib/__init__.py", line 1, in <module>
from acuitylib.optimize.optimizer import Optimizer
File "rknn/base/acuitylib/optimize/optimizer.py", line 17, in init rknn.base.acuitylib.optimize.optimizer
File "rknn/base/acuitylib/optimize/rules/merge_layer.py", line 3, in init rknn.base.acuitylib.optimize.rules.merge_layer
File "/home/toybrick/.local/lib/python3.6/site-packages/rknn/base/acuitylib/layer/__init__.py", line 2, in <module>
from acuitylib.layer.add import *
File "rknn/base/acuitylib/layer/add.py", line 1, in init rknn.base.acuitylib.layer.add
File "rknn/base/acuitylib/layer/acuitylayer.py", line 9, in init rknn.base.acuitylib.layer.acuitylayer
File "rknn/base/acuitylib/core/tensor.py", line 3, in init rknn.base.acuitylib.core.tensor
File "rknn/base/acuitylib/tensor_factory.py", line 3, in init rknn.base.acuitylib.tensor_factory
File "rknn/base/acuitylib/dtype/dynamic_fixed_point.py", line 6, in init rknn.base.acuitylib.dtype.dynamic_fixed_point
File "/home/toybrick/.local/lib/python3.6/site-packages/rknn/base/acuitylib/dtype/quantized_dtype.py", line 8, in <module>
from acuitylib.math import compute_quantize_kl_divergence
File "rknn/base/acuitylib/math.py", line 3, in init rknn.base.acuitylib.math
File "/home/toybrick/.local/lib/python3.6/site-packages/scipy/stats/__init__.py", line 379, in <module>
from .stats import *
File "/home/toybrick/.local/lib/python3.6/site-packages/scipy/stats/stats.py", line 180, in <module>
import scipy.special as special
File "/home/toybrick/.local/lib/python3.6/site-packages/scipy/special/__init__.py", line 641, in <module>
from ._ufuncs import *
ImportError: libgfortran.so.4: cannot open shared object file: No such file or directory