zl程序教程

您现在的位置是:首页 >  系统

当前栏目

Linux hanlp JVM 部署及libstdc++.so.6部署小技巧

2023-09-27 14:26:47 时间

Linux hanlp JVM 部署及libstdc++.so.6部署小技巧

  • Hanlp部署JVM
  • Linux 系统库部署

Hanlp部署JVM ,提示找不到'/usr/lib/jvm'

(python36) [centos@host33 cnn_rnn]$ sudo python flask_server_cleanup_main.py 
['/usr/local/noc_project/cnn_rnn', '/usr/local/python3/lib/python36.zip', '/usr/local/Python-3.6.5/Lib', '/usr/local/Python-3.6.5/build/lib.linux-x86_64-3.6', '/usr/local/noc_project', '/home/centos/.conda/envs/python36/lib/python3.6/site-packages/']
Traceback (most recent call last):
  File "flask_server_cleanup_main.py", line 18, in <module>
    from  hangup.hangup_process  import Nlp_hangup
  File "/usr/local/noc_project/hangup/hangup_process.py", line 10, in <module>
    from pyhanlp import *
  File "/home/centos/.conda/envs/python36/lib/python3.6/site-packages/pyhanlp/__init__.py", line 145, in <module>
    _start_jvm_for_hanlp()
  File "/h