我需要在pl/python函数中导入第三方模块.似乎pl/python使用的内部python没有任何第三方模块.
我遇到这种错误:
ERROR: PL/Python: PL/Python function "to_tsvector_luc" failed
DETAIL: <type 'exceptions.ImportError'>: No module named lucene
********** Error **********
ERROR: PL/Python: PL/Python function "to_tsvector_luc" failed
SQL state: XX000
Detail: <type 'exceptions.ImportError'>: No module named lucene
Run Code Online (Sandbox Code Playgroud)
如何将模块安装到pl/python中,以便我可以从存储过程代码中导入它?