티스토리 뷰
python 실습을 하다가 windows com 관련 모듈을 호출하려고 아래 소스를 실행하려 하면, 관련 모듈이 없다고 나온다
import win32com.client explore = win32com.client.Dispatch("InternetExplorer.Application") explore.Visible = True
추가를 하려고 pywin32를 설치하려고 보니 에러가 떨어진다
음.. 해결을 위해서 console에서 해당 command를 살펴보자
음.. 현재 version과 상이한 이유로 pip upgrade가 되지 않는다
그렇다면.. 공식 문서를 살펴 보자
https://pip.pypa.io/en/stable/installing/#upgrading-pip
Command 를 실행해보자
pip install -U pip
그래도 설치가 안된다... 찾아보니 ( http://stackoverflow.com/questions/9233461/pywin32-com-objects-on-mac )
해당 모듈은 window module이니 invoke가 되지 않는 다는 주옥같은 말씀을... ㅠㅠ
음;; 그래도 좀 배웠으니 참아보자 ... ㅎㅎ
'Dev > python' 카테고리의 다른 글
__main__.py (0) | 2017.02.10 |
---|---|
DB browser for SQLite (0) | 2017.01.31 |
[Python] Anaconda 소개 및 설치 (0) | 2017.01.25 |
Pycharm install (0) | 2017.01.17 |
댓글