zoukankan      html  css  js  c++  java
  • 安装 libXrender.x86_64 -y

    ImportError:libSM.so.6:cannot open shared object file: NO such file or directory

    Traceback (most recent call last):
      File "run_app.py", line 17, in <module>
        from run_flask import *
      File "/data/app/bsd-spider_finance-num1/run_flask.py", line 9, in <module>
        from config_app_platforms import *
      File "/data/app/bsd-spider_finance-num1/config_app_platforms.py", line 4, in <module>
        from models import (
      File "/data/app/bsd-spider_finance-num1/models/ma_shang_fen_qi.py", line 13, in <module>
        import muggle_ocr
      File "/usr/local/python3/lib/python3.6/site-packages/muggle_ocr/__init__.py", line 5, in <module>
        from muggle_ocr.sdk import SDK
      File "/usr/local/python3/lib/python3.6/site-packages/muggle_ocr/sdk.py", line 6, in <module>
        import cv2
      File "/usr/local/python3/lib/python3.6/site-packages/cv2/__init__.py", line 3, in <module>
        from .cv2 import *
    ImportError: libSM.so.6: cannot open shared object file: No such file or directory
    

    报以上错误请安装

    yum install libXrender.x86_64 -y
    yum install libSM-1.2.2-2.el7.x86_64 --setopt=protected_multilib=false
    
  • 相关阅读:
    leetcode 2 Add Two Numbers
    log4j2 springboot 特点与使用方法
    数据类型和运算符
    初识Java
    《梦断代码》阅读笔记02
    《梦断代码》阅读笔记01
    场景调研
    【站立会议】第九天
    【站立会议】第八天
    【站立会议】第七天
  • 原文地址:https://www.cnblogs.com/gqv2009/p/13263304.html
Copyright © 2011-2022 走看看