개발/Python

개발/Python

[오라클/파이썬] DPI-1047오류 해결방법(oracledb)

환경 Ubuntu 20.04.4 LTS 해당글은 "cx_Oracle error. DPI-1047: Cannot locate a 64-bit Oracle Client library" 오류가 아닙니다. "oracledb.exceptions.DatabaseError: DPI-1047:" 오류 입니다. 하지만 해결 방법은 같습니다. 발생 오류 oracledb.exceptions.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "libclntsh.so: cannot open shared object file: No such file or directory". See https://oracledb.readthedocs.io/en/late..

개발/Python

[Python] pip install 오류('cp949' codec can't decode byte 0xe2 in position 1091: illegal multibyte sequence)

윈도우에 pip install 하는 중에 오류 발생.. 발생한 오류 UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 1091: illegal multibyte sequence 해결방법(encoding='utf-8' 구문 추가) - encoding='utf-8' 추가 1. 파이썬설치경로\Python\Python37\Lib\distutils\text_file.py (115번째줄) encoding='utf-8' 구문 추가 2. 파이썬설치경로\python\python37\lib\configparser.py (695번째줄) encoding=encoding 삭제또는 주석 후 encoding='utf-8' 구문 추가 참고 https://sta..

개발/Python

[Linux/Ubuntu] Ubuntu 20.04에 python3.7 설치

아무것도 없는 새로운 Ubuntu에 python을 설치하려고 한다. python에 기존에 설치되어있는지 확인 $ python -V #python이 없다면, 설치하라는 오류 발생 설치환경 Ubuntu 20.04 라이브러리 설치 - 소스설치에 필요한 라이브러리들을 다운로드 - 설치 중간에 [ y | n ] 중 선택하라는 화면 나오면 y를 타이핑하거나, 엔터 선택 $ sudo apt-get update && sudo apt-get dist-upgrade $ sudo apt-get install -y build-essential checkinstall $ sudo apt-get install -y libreadline-gplv2-dev libncursesw5-dev libssl-dev \ libsqlite3-d..

개발/Python

[python] ImageAI 사용해서 image Object Detection(1)

ImageAI 객체 탐지 관련해서 아무것도 모르는 초보자도 쉽게 할 수 있는 모듈이 있다. 이미지 또는 영상에서 객체 탐지를 해주는 AI 모듈이다. 탐지율, 정확도 꽤 높게 나오는 것 같고, 흐린 사진에서도 탐지율이 높은 것 같다. 이미지를 이미 학습한 모델 파일을 다운로드하여 사용하는 방식, 직접 학습해서 자신만의 용도로 분류하는 모델을 만드는 방식도 있다. 이 중에서 본인에게 필요한 방식을 사용하면 된다. 나는 학습한 모델 파일을 다운로드하여(yolo.h5) 사용했다. 자세한 설치 및 사용설명은 github를 참고하세요. https://github.com/OlafenwaMoses/ImageAI 개발환경 - ubuntu 16.04 - Python 3.7.6 pip install 최대한 버전을 똑같이 해..

호이호이209
'개발/Python' 카테고리의 글 목록 (2 Page)