Skip to content
조회 수 9840 추천 수 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>

 

 

 

 

 

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

?

List of Articles
번호 분류 제목 날짜 조회 수
917 프로세스 프로세스 2 3 2011.02.07 312176
916 WindowsTip 윈도우 DLL 오류 해결방법 2013.01.23 192702
915 컴퓨터잡담 자바스크립트로 전송(submit) 버튼 누르기 3 2010.10.10 103644
914 컴퓨터잡담 hMailServer - 설치시 주의 핵심사항 1 2010.08.24 103068
913 컴퓨터잡담 북마크 링크 주소모음 2010.10.30 102936
912 컴퓨터잡담 파이썬 request, beautifulshop으로 정액정보 받아오기 2023.09.29 78072
911 파이썬 파이썬에서 인식이 잘되는 OCR 종류 2023.09.15 78033
910 파이썬 파이썬 랜덤으로 문제풀기 #2 2023.10.04 77608
909 파이썬 한우경매낙찰 유튜브 영상의 이미지에서 특정 문자 가져와서 저장하기 2023.09.14 77302
908 컴퓨터잡담 CANON PRINTER ERROR CODE B203, B204 해결방법 2023.09.17 76989
907 파이썬 파이썬 랜덤으로 시험문제 풀기 file 2023.10.04 73861
906 컴퓨터잡담 엑셀 색깔 지정 함수 1 2010.07.28 65609
905 파이썬 파이썬 requestsbeautifulsoup 으로 웹 input에 입력값 대입한 뒤 결과값 파일로 저장하기 2023.11.13 65446
904 컴퓨터잡담 MYSQL 미 해결 과제 : Can't connect to MySQL server on 'localhost'(10055) 3 3 2009.11.21 64232
903 컴퓨터잡담 php로 이미지를 mysql디비 저장하고 보여주는 소스 4 3 2009.10.17 62322
902 컴퓨터잡담 여러개의 엑셀파일을 하나로 합치기 2 2010.06.22 57410
901 HTMLPHPMSQL 지정한 이미지파일명을 출력 시키는 시험문제풀이 html 1 2023.12.13 55721
900 컴퓨터잡담 오류 socket error #10061 connection 3 2 2010.09.25 54127
899 AutoHotKey AHK) AUTOKEY 웹페이지 열지않고 소스 가져오기 또는 로그인 하기 14 2012.05.12 52952
898 Visual C++ VBS) VBScript Telnet log save 2013.09.21 51931
Board Pagination Prev 1 2 3 4 5 ... 46 Next
/ 46

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


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

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

설치 취소