공유 블로그

win10에서만 나오는 오류 인거 같습니다.

 

오류 내용

ERROR: Exception:
Traceback (most recent call last):
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_internal\cli\base_command.py", line 164, in exc_logging_wrapper
    status = run_func(*args)
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_internal\cli\req_command.py", line 205, in wrapper
    return func(self, options, args)
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_internal\commands\install.py", line 404, in run
    installed = install_given_reqs(
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_internal\req\__init__.py", line 73, in install_given_reqs
    requirement.install(
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_internal\req\req_install.py", line 802, in install
    install_wheel(
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_internal\operations\install\wheel.py", line 729, in install_wheel
    _install_wheel(
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_internal\operations\install\wheel.py", line 646, in _install_wheel
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py", line 428, in make_multiple
    filenames.extend(self.make(specification, options))
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_internal\operations\install\wheel.py", line 427, in make
    return super().make(specification, options)
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py", line 417, in make
    self._make_script(entry, filenames, options=options)
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py", line 317, in _make_script
    self._write_script(scriptnames, shebang, script, filenames, ext)
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py", line 247, in _write_script
    launcher = self._get_launcher('t')
  File "C:\Users\USER\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py", line 396, in _get_launcher
    raise ValueError(msg)

ValueError: Unable to find resource t32.exe in package pip._vendor.distlib

 

해결방법

 python -m pip uninstall pip
   python -m ensurepip
   python -m pip install -U pip

 

참고사항

더보기

pip 사라졌을 경우

 

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

터미널에 입력

 

출처 : https://bslife.tistory.com/55

출처 : https://github.com/pypa/pip/issues/8450

공유하기

facebook twitter kakaoTalk naver band kakaostory Copy URL