반응형
centos tesseract, open cv 사용시 오류 리포팅
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
sudo yum install libXext libSM libXrender 를 설치해준다.
centos tesseract, open cv 사용시 오류 리포팅
[skan@ae-report-crawler]$ python3.6 application.py dev
Traceback (most recent call last):
File "application.py", line 4, in <module>
from com.aereport.scraping.batch.schedulers.common_scheduler import CommonScheduler
File "/server/aereport/scraping/ae-report-crawler/com/aereport/scraping/batch/schedulers/common_scheduler.py", line 10, in <module>
from com.aereport.scraping.batch.jobs.smr.smr_crawling_job import SmrCrawlingJob
File "/server/aereport/scraping/ae-report-crawler/com/aereport/scraping/batch/jobs/smr/smr_crawling_job.py", line 2, in <module>
from com.aereport.scraping.crawling.v2.smr.smr import Smr
File "/server/aereport/scraping/ae-report-crawler/com/aereport/scraping/crawling/v2/smr/smr.py", line 7, in <module>
from com.aereport.scraping.crawling.v2.smr.login import SmrLogin
File "/server/aereport/scraping/ae-report-crawler/com/aereport/scraping/crawling/v2/smr/login.py", line 3, in <module>
import cv2
File "/usr/local/lib64/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
sudo yum install libXext libSM libXrender
반응형
'python' 카테고리의 다른 글
selenuim 과 requests 비교 (0) | 2019.06.25 |
---|---|
selenium 웹크롤링 (0) | 2019.06.21 |
python datetime 사용방법 (0) | 2019.06.21 |
python 기본 함수 time (0) | 2019.06.21 |
python random 함수 (0) | 2019.06.21 |