Skip to content
조회 수 9706 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

파이썬 googleapiclient 모듈이 설치가 안될때 해결방법

 

컴퓨터가 고장나서 윈도우와 파이썬을 재설치했더니 

 

Traceback (most recent call last):

  File "c:\Python\py_code\구글API\캘린더.PY", line 6, in <module>

    from googleapiclient.discovery import build

ModuleNotFoundError: No module named 'googleapiclient'

PS C:\Python\py_code> python.exe -m pip3 install googleapiclient

 

모듈이 없다고 재설치 하라는 메시지를 보고

 

우선 PIP.EXE 부터 업그레이드를 했습니다.
 

C:\Python\Scripts>..\python.exe -m pip install --upgrade pip

Requirement already satisfied: pip in c:\python\lib\site-packages (21.2.4)

Collecting pip

  Downloading pip-22.0.4-py3-none-any.whl (2.1 MB)

     |████████████████████████████████| 2.1 MB 3.3 MB/s

Installing collected packages: pip

  Attempting uninstall: pip

    Found existing installation: pip 21.2.4

    Uninstalling pip-21.2.4:

      Successfully uninstalled pip-21.2.4

  WARNING: The scripts pip.exe, pip3.10.exe and pip3.exe are installed in 'C:\Python\Scripts' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Successfully installed pip-22.0.4

 

 

그런데 업그레이드를 진행하니 매칭되는 모듈이 없다고 하네요?

황당해서 인터넷을 검색해봤더니,,,

 

C:\Python\Scripts>..\python.exe -m pip install googleapiclient

ERROR: Could not find a version that satisfies the requirement googleapiclient (from versions: none)

ERROR: No matching distribution found for googleapiclient

 

 

 

C:\Python\Scripts>..\python.exe -m pip install google-api-python-client

이렇게 하라고 나옵니다.

 

 

C:\Python\Scripts>..\python.exe -m pip install google-api-python-client

Collecting google-api-python-client

  Downloading google_api_python_client-2.42.0-py2.py3-none-any.whl (8.3 MB)

     ---------------------------------------- 8.3/8.3 MB 7.8 MB/s eta 0:00:00

Collecting google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5

  Downloading google_api_core-2.7.1-py3-none-any.whl (114 kB)

     ---------------------------------------- 114.7/114.7 KB 6.5 MB/s eta 0:00:00

Collecting uritemplate<5,>=3.0.1

  Downloading uritemplate-4.1.1-py2.py3-none-any.whl (10 kB)

Requirement already satisfied: google-auth<3.0.0dev,>=1.16.0 in c:\python\lib\site-packages (from google-api-python-client) (2.6.0)

Requirement already satisfied: httplib2<1dev,>=0.15.0 in c:\python\lib\site-packages (from google-api-python-client) (0.20.4)

Collecting google-auth-httplib2>=0.1.0

  Downloading google_auth_httplib2-0.1.0-py2.py3-none-any.whl (9.3 kB)

Collecting protobuf>=3.12.0

  Downloading protobuf-3.19.4-cp310-cp310-win_amd64.whl (895 kB)

     ---------------------------------------- 895.5/895.5 KB 11.4 MB/s eta 0:00:00

Requirement already satisfied: requests<3.0.0dev,>=2.18.0 in c:\python\lib\site-packages (from google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client) (2.27.1)

Collecting googleapis-common-protos<2.0dev,>=1.52.0

  Downloading googleapis_common_protos-1.56.0-py2.py3-none-any.whl (241 kB)

     ---------------------------------------- 241.5/241.5 KB 14.5 MB/s eta 0:00:00

Requirement already satisfied: cachetools<6.0,>=2.0.0 in c:\python\lib\site-packages (from google-auth<3.0.0dev,>=1.16.0->google-api-python-client) (5.0.0)

Requirement already satisfied: six>=1.9.0 in c:\python\lib\site-packages (from google-auth<3.0.0dev,>=1.16.0->google-api-python-client) (1.16.0)

Requirement already satisfied: rsa<5,>=3.1.4 in c:\python\lib\site-packages (from google-auth<3.0.0dev,>=1.16.0->google-api-python-client) (4.8)

Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\python\lib\site-packages (from google-auth<3.0.0dev,>=1.16.0->google-api-python-client) (0.2.8)

Requirement already satisfied: pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2 in c:\python\lib\site-packages (from httplib2<1dev,>=0.15.0->google-api-python-client) (3.0.7)

Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in c:\python\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3.0.0dev,>=1.16.0->google-api-python-client) (0.4.8)

Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\python\lib\site-packages (from requests<3.0.0dev,>=2.18.0->google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client) (1.26.8)

Requirement already satisfied: certifi>=2017.4.17 in c:\python\lib\site-packages (from requests<3.0.0dev,>=2.18.0->google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client) (2021.10.8)

Requirement already satisfied: charset-normalizer~=2.0.0 in c:\python\lib\site-packages (from requests<3.0.0dev,>=2.18.0->google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client) (2.0.12)

Requirement already satisfied: idna<4,>=2.5 in c:\python\lib\site-packages (from requests<3.0.0dev,>=2.18.0->google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5->google-api-python-client) (3.3)

Installing collected packages: uritemplate, protobuf, googleapis-common-protos, google-auth-httplib2, google-api-core, google-api-python-client

Successfully installed google-api-core-2.7.1 google-api-python-client-2.42.0 google-auth-httplib2-0.1.0 googleapis-common-protos-1.56.0 protobuf-3.19.4 uritemplate-4.1.1

 

C:\Python\Scripts>

 

 

 

 

 

로그인 후 댓글쓰기가 가능합니다.

?
  • ?
    asddsa 2022.06.05 11:06
    빌게이츠가 100억 주고 싹쓸이한 이유 "누구라도 반할만큼 아름답다"--



    공방 창업 핸드메이드 소품으로 억대 매출 올리고 있어요-----



    https://blog.naver.com/0707soho/222754750331



    https://blog.naver.com/0707soho/222194930694



    https://blog.naver.com/0707soho/222753883494



    제이웨딩 스드메 최저가 견적비교----------



    스드메 최저가 견적비교에서는 서울 지역 에서 현재 소비자들이 가장 많이

    비교하고 있는 구성이 무엇인지 살펴 볼 수 있구요.



    내가 원하는 스튜디오, 드레스, 메이크업 업체를 골라 직접 견적을

    받아보실 수 있는 서비스를 제공하고 있어요.



    뿐만 아니라 웨딩홀 캐쉬백, 카페가입, 카페 홍보 등 여러 할인 혜택 도

    제공하고 있어 보다 저렴한 가격으로 스드메 견적을 받아 보실 수 있습니다.---



    웨딩촬영, 본식--· 스튜디오 : 앨범(20P), 액자(20R), 원본DVD 별도

    · 드레스 : 촬영(화이트2벌, 컬러1벌), 본식, 턱시도

    · 메이크업 : 리허설, 본식(신랑, 신부 헤어/메이크업)

    * 피팅비, 핼퍼비, 원본CD 비용 별도, 본식촬영 불포함



    http://ad.cpaad.co.kr/weddingdc05/aa0707





    제이웨딩 웨딩홀 준비 갓띵혜택!--

    제이웨딩 웨딩홀 준비 갓띵혜택!에서는 서울/경기 지역 의 웨딩홀들을

    한 눈에 비교하고 있는 혜택이 무엇인지 살펴 볼 수 있구요.



    내 스타일에 맞는 웨딩홀들과의 매칭을

    50여명의 웨딩홀 전문가들에게 받아보실 수 있는 서비스를 제공하고 있습니다.



    뿐만 아니라 무료시식 이나 요일특가 혜택 등 다양한 혜택을 받아보실 수 있습니다.---



    http://ad.cpaad.co.kr/weddingdc04A/aa0707





    낚시 입문 초보자 미니 낚시대 세트--- https://nico.kr/rEKIfN



    씨름 SSIRM 화유 파유 불맛기름 파기름 불향 소스 볶음밥 매운짬뽕 빽가기름--- https://nico.kr/Y4hf1E




    튜브드라이브 아이폰 OTG 외장메모리 Tubedrive 유튜브 스페셜 기능--- https://nico.kr/DQYqhx



    외부 유리창 청소 자석 창문닦이 올라운드 글래스 클리너--- https://nico.kr/bOc7dw



    남자 항균 분리형 고급 소취 팬티 남성 드로즈 와우 591--- https://nico.kr/DMmQBw



    세계 최초 특허받은 글라스 헤드로 제작된 전동 발 각질 제거기--- https://nico.kr/n4lyYl


List of Articles
번호 분류 제목 날짜 조회 수
16 파이썬 파이썬 웹크롤링 오류 대처방법(verify=False)requests.exceptions.SSLError: 2021.09.16 3615
15 파이썬 파이썬 키움openAPI 보유종목 종목리스트 피라미드 매수주문하기 2021.09.16 3018
14 파이썬 파이썬 키움openAPI 보유종목 종목리스트 피라미드 매도주문하기 2021.09.16 2536
13 파이썬 파이썬 키움openAPI 원하는 종목리스트 10호가까지 피라미드 매수주문하기 2021.09.16 3508
12 파이썬 키움증권 openAPI 지정가분할매수주문.py 2021.09.13 3486
11 파이썬 파이썬 dictionary 딕셔너리 조작 2021.09.13 2532
10 파이썬 파이썬 openyxl 엑셀파일(xlsx) 저장하기 2021.09.11 2594
9 파이썬 파이썬 datetime 모듈로 초간단 날짜 표현하기 2021.09.11 2654
8 파이썬 파이썬 any, all 사용하기(배열데이터 안에 값이 하나라도 있는지 또는 모두 있는지 비교) 2021.09.11 1938
7 파이썬 파이썬 오류모음(에러모음) file 2021.09.09 3707
6 파이썬 키움 증권 API를 이용하여 주식 자동 매매 프로그램 개발 3 2021.09.07 3836
5 파이썬 파이썬 키움증권 open api 분할매매 주문하기 2021.09.07 2312
4 파이썬 파이썬 매수할 피라미드 매수전략 2021.09.06 1833
3 파이썬 키움증권 OpenAPI 당황스러움 file 2021.09.06 1691
2 파이썬 파이썬 키움증권 OPEN API 매수/매도/정정/취소 주문방법 2021.09.05 3984
1 파이썬 파이썬 변수전달하기 2021.09.05 1375
Board Pagination Prev 1 2 3 Next
/ 3

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소