Python에서 (pytube) 라이브러리 다운로드 문제

2277 단어 pytubepythonmodule
(pytube)라는 Python 라이브러리에서 라이브러리를 다운로드하고 싶습니다.
cmd 패널에 다운로드 명령 [pip install git + https://github.com/pytube/pytube]을 입력하면 다음과 같은 결과가 출력됩니다.

Collecting git+https://github.com/pytube/pytube
  Cloning https://github.com/pytube/pytube to c:\users\jit\appdata\local\temp\pip-req-build-w3q3fwqn

Requirement already satisfied (use --upgrade to upgrade): pytube==10.6.1 from git+https://github.com/pytube/pytube in c:\users\jit\appdata\local\programs\python\python39\lib\site-packages
Using legacy 'setup.py install' for pytube, since package 'wheel' is not installed.

WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the 'c:\users\jit\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip' command.


그래서 [pip install --upgrade pip] 프롬프트를 cmd 패널에 작성하면 다음과 같은 결과가 나타납니다.

Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.2.3
    Uninstalling pip-20.2.3:
      Successfully uninstalled pip-20.2.3
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\\Users\\jit\\AppData\\Local\\Temp\\pip-uninstall-pnqylmmj\\pip.exe'
Consider using the `--user` option or check the permissions.


예시 이미지 :


그리고 또 다른 설치 시도에서 (PyCharm) 프로그램 내부의 (터미널)에 명령을 입력했습니다.

Collecting git+https://github.com/pytube/pytube
  Cloning https://github.com/pytube/pytube to c:\users\jit\appdata\local\temp\pip-req-build-o5uke_cl
  Running command git clone -q https://github.com/pytube/pytube 'C:\Users\jit\AppData\Local\Temp\pip-req-build-o5uke_cl'



예시 이미지 :


그리고 나는 라이브러리 설치에 성공하지 못했습니다! 왜 그런 겁니까? 솔루션에 도달하려면 어떻게 해야 합니까?

좋은 웹페이지 즐겨찾기