PYTHON 프로그래밍

본문 바로가기
사이트 내 전체검색


PYTHON 프로그래밍
PYTHON 프로그래밍

9. UserWarning: Could not import the lzma module. Your installed Python i…

페이지 정보

작성자 관리자 댓글 0건 조회 3,833회 작성일 20-08-08 14:58

본문

9. UserWarning: Could not import the lzma module. Your installed Python i…

# python3 train1.py 


/usr/local/lib/python3.7/site-packages/pandas/compat/__init__.py:120: UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError.

  warnings.warn(msg)


라이브러리를 설치 후, Python을 다시 설치한다.

# yum install -y xz-devel 

# cd Python-3.7.8/

[root@localhost Python-3.7.8]# ./configure && make && make altinstall

# python3 train1.py  

실행하면 에러가 없어졌을 것이다.

댓글목록

등록된 댓글이 없습니다.


개인정보취급방침 서비스이용약관 모바일 버전으로 보기 상단으로

TEL. 063-469-4551 FAX. 063-469-4560 전북 군산시 대학로 558
군산대학교 컴퓨터정보공학과

Copyright © www.leelab.co.kr. All rights reserved.