I'm practicing the "tspDB example-Single time Series (Synthetic data).ipynb" in jupyter notebook. When creating prediction index, I have the error: name 'plpy' is not defined.
error is below: NameError: name 'plpy' is not defined
CONTEXT: Traceback (most recent call last):
PL/Python function "create_pindex", line 2, in
from tspdb.src.pindex.predict import get_prediction_range, get_prediction
PL/Python function "create_pindex", line 2, in
PL/Python function "create_pindex"
But if I execute "select create_pindex('synth_data', 'time','{"ts_7"}','pindex', k =>4);" in PostgreSQL via dbeaver, it can be executed successfully.
Hi,
I'm practicing the "tspDB example-Single time Series (Synthetic data).ipynb" in jupyter notebook. When creating prediction index, I have the error: name 'plpy' is not defined.
error is below: NameError: name 'plpy' is not defined CONTEXT: Traceback (most recent call last): PL/Python function "create_pindex", line 2, in
from tspdb.src.pindex.predict import get_prediction_range, get_prediction
PL/Python function "create_pindex", line 2, in
PL/Python function "create_pindex"
But if I execute "select create_pindex('synth_data', 'time','{"ts_7"}','pindex', k =>4);" in PostgreSQL via dbeaver, it can be executed successfully.
How to solve it? Thank you very much.