파이썬 사용 도중 다음과 같이 오류가 나타나는 경우가 있습니다.
첫번째는 request 입니다.

- 오류 메세지
- PythonShellError: ModuleNotFoundError: No module named 'requests'
가장 쉬운 해결 방법은 파이썬에 requests 가 설치되어 있는지 확인 입니다.
cmd 창에서 다음과 같이 입력 합니다.
pip install requests
해당 작업 후 많은? 경우 해결 됩니다. 하지만 이걸로 해결되지 않는다면 git 소스로 이동합니다.
psf/requests
A simple, yet elegant HTTP library. Contribute to psf/requests development by creating an account on GitHub.
github.com

다운로드에서 zip 파일로 받아서 압축을 해제 합니다.
그후 해당 폴더로 이동 후 다음 명령어로 설치 합니다.
python setup.py install
이렇게 직접 설치하면 대부분 해결됩니다.
유사한 이슈로 아래 오류의 경우 설치 명령어와 Git 소스는 다음과 같습니다.
- 오류메세지
- "ModuleNotFoundError: No module named 'PIL'\r\
- 설치 명령어
pip install Pillow
- 깃 위치 - 다운로드 경로
francescortiz/image
Django application that provides cropping, resizing, thumbnailing, overlays, tint and mask for images and videos with the ability to set the center of attention in order to have automatic perfect c...
github.com
Appium 오류 관련
- 오류 메세지
- "ModuleNotFoundError: No module named 'appium'\r\n",
- 설치 명령어
pip install Appium-Python-Client
- 설치 파일 경로-다운로드 경로
Appium-Python-Client
Python client for Appium
pypi.org
'ETC' 카테고리의 다른 글
아르카나 택틱스 ios/Android 쿠폰 (0) | 2021.03.20 |
---|---|
git push 시 fatal: the remote end hung up unexpectedly 오류 (0) | 2021.01.20 |
[ Game ] 유비 소프트 해피 홀리데이 / 에픽스토어 무료 게임 링크 (0) | 2020.12.19 |
[ Outlook ] 계정 정보 지우기 - 아웃룩 (0) | 2020.12.08 |
넷플릭스, 왓차 , 파티 자동으로 모아주는 사이트 pickle (0) | 2020.11.27 |