[ÇØ°áµÊ]ÆÄÀ̽ã pip install Áú¹®

sffbig   
   Á¶È¸ 5721   Ãßõ 0    

 윈도우 환경에서 pip install로 requests를 설치하려던 도중 위와같은 오류가 뜨네요



ERROR: Exception:

Traceback (most recent call last):

  File "c:\users\python\python38\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in _main 

    status = self.run(options, args)

  File "c:\users\python\python38\lib\site-packages\pip\_internal\cli\req_command.py", line 185, in wrapper

    return func(self, options, args)

  File "c:\users\python\python38\lib\site-packages\pip\_internal\commands\install.py", line 332, in run

    requirement_set = resolver.resolve(

  File "c:\users\python\python38\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 179, in resolve

    discovered_reqs.extend(self._resolve_one(requirement_set, req))

  File "c:\users\python\python38\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 362, in _resolve_one

    abstract_dist = self._get_abstract_dist_for(req_to_install)

  File "c:\users\python\python38\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 313, in _get_abstract_dist_for

    self._populate_link(req)

  File "c:\users\python\python38\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 279, in _populate_link

    req.link = self.finder.find_requirement(req, upgrade)

  File "c:\users\python\python38\lib\site-packages\pip\_internal\index\package_finder.py", line 900, in find_requirement

    best_candidate_result = self.find_best_candidate(

  File "c:\users\python\python38\lib\site-packages\pip\_internal\index\package_finder.py", line 883, in find_best_candidate

    candidates = self.find_all_candidates(project_name)

  File "c:\users\python\python38\lib\site-packages\pip\_internal\index\package_finder.py", line 827, in find_all_candidates

    package_links = self.process_project_url(

  File "c:\users\python\python38\lib\site-packages\pip\_internal\index\package_finder.py", line 792, in process_project_url

    html_page = self._link_collector.fetch_page(project_url)

  File "c:\users\python\python38\lib\site-packages\pip\_internal\index\collector.py", line 612, in fetch_page

    return _get_html_page(location, session=self.session)

  File "c:\users\python\python38\lib\site-packages\pip\_internal\index\collector.py", line 451, in _get_html_page

    resp = _get_html_response(url, session=session)

  File "c:\users\python\python38\lib\site-packages\pip\_internal\index\collector.py", line 149, in _get_html_response

    resp = session.get(

  File "c:\users\python\python38\lib\site-packages\pip\_vendor\requests\sessions.py", line 543, in get

    return self.request('GET', url, **kwargs)

  File "c:\users\python\python38\lib\site-packages\pip\_internal\network\session.py", line 421, in request

    return super(PipSession, self).request(method, url, *args, **kwargs)

  File "c:\users\python\python38\lib\site-packages\pip\_vendor\requests\sessions.py", line 520, in request

    settings = self.merge_environment_settings(

  File "c:\users\python\python38\lib\site-packages\pip\_vendor\requests\sessions.py", line 697, in merge_environment_settings

    env_proxies = get_environ_proxies(url, no_proxy=no_proxy)

  File "c:\users\python\python38\lib\site-packages\pip\_vendor\requests\utils.py", line 766, in get_environ_proxies

    if should_bypass_proxies(url, no_proxy=no_proxy):

  File "c:\users\python\python38\lib\site-packages\pip\_vendor\requests\utils.py", line 750, in should_bypass_proxies

    bypass = proxy_bypass(parsed.hostname)

  File "c:\users\python\python38\lib\site-packages\pip\_vendor\requests\utils.py", line 96, in proxy_bypass

    return proxy_bypass_registry(host)

  File "c:\users\python\python38\lib\site-packages\pip\_vendor\requests\utils.py", line 61, in proxy_bypass_registry

    proxyEnable = int(winreg.QueryValueEx(internetSettings,

ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00'





혹시 이런 오류  어떻게 해결하는지 알 수 있을까요?


---------------------------------------------------------------------------------------------------

프록시 관련 오류였습니다 도움을 주신분들께 정말 감사합니다

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
Á¤Àμº 2020-09
PIP ¾÷±×·¹À̵å Çغ¸¼Ì³ª¿ä?

pip install --upgrade pip
     
¸íÈÆÁ¤ 2020-09
³× Çغôµ¥ ¾ÈµÇ³×¿ä ¤Ð¤Ð
Midabo 2020-09
Window À̽Ű¡¿ä?
Registry Áß¿¡¼­
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable

À» 4byte DWORD ·Î ´ëüÇغ¸½Ê½Ã¿À (¾Æ¸¶ BINARY·Î µÇ¾î ÀÖÀ» ²¨¿¡¿ä)
     
¸íÈÆÁ¤ 2020-09
Çѹø Çغ¸·Á Çϴµ¥ ¾î·Æ³×¿ä..
Á¶±Ý ÀÚ¼¼È÷ ¾Ë·ÁÁֽǼö ÀÖÀ¸½Å°¡¿ä?
          
Midabo 2020-09
±×³É ÀÏ´Ü ½ÃÀÛ¸Þ´º ´©¸£°í "ÇÁ·Ï½Ã" Ãļ­  ÇÁ·Ï½Ã ¼³Á¤ º¯°æ ¿©½Ã°í¿ä

ÀÚµ¿À¸·Î ¼³Á¤°Ë»öÀ» ²ô°í

Çѹø Çغ¸¼¼¿ä
               
¸íÈÆÁ¤ 2020-09
¾ÆÁÖ Àߵ˴ϴ٠¤Ð¤Ð
Á¤¸» °¨»çÇÕ´Ï´Ù
                    
Midabo 2020-09
Âɲû ´õ ¼³¸í µå¸®¸é, pip À» È£ÃâÇÒ ¶§ ÇÁ·Ï½Ã ¼¼ÆÃÀ» Àоî¿À´Âµ¥ ÀÌ°É 32bit (4byte) °ªÀ¸·Î Àоî¿Í¿ä
±×·¡¼­ \x00\x00\x00\x00  ÀÌ·± Çü½ÄÀÌ ÀÖ¾î¾ß Çϴµ¥
ÇØ´ç ·¹Áö½ºÆ®¸® Å°°¡ binary ·Î µÇ¾î À־ ¿¡·¯°¡ ³ª´Â °æ¿ìÀÔ´Ï´Ù.

±×·¡¼­ proxyEnable = int(winreg.QueryValueEx(internetSettings,  ¿äºÎºÐ¿¡¼­ ¿¡·¯°¡ ³ª°í ·Î±×°¡ ¶á °ÍÀÔ´Ï´Ù.
                         
¸íÈÆÁ¤ 2020-09
Á¤¸» °í¼ö½Ã±º¿ä... ¶Ç ¹è¿ö°©´Ï´Ù Á¤¸» °¨»çÇÕ´Ï´Ù ¤Ð¤Ð
±èÁ¦¿¬ 2020-09
¸®´ª½º½Ã¸é sudo ·Î ¼³Ä¡ Çغ¸¼¼¿ä.
     
¸íÈÆÁ¤ 2020-09
À©µµ¿ì ȯ°æÀ롃 ¾ÈÀû¾ú¾ú³×¿ä


QnA
Á¦¸ñPage 914/5682
2015-12   1488434   ¹é¸Þ°¡
2014-05   4951764   Á¤ÀºÁØ1
2020-09   2376   Realwook
2020-09   4754   ÀÌÁöÆ÷Åä
2020-09   4121   ºí·ç¿µ»ó
2020-09   2576   ¿¥ºê¸®¿À
2020-09   2557   ¿Ü·Î¿î²þ²þÀÌ
2020-09   2979   Ȧ¸¯0o0
2020-09   1600   galaxyfamily
2020-09   3174   DOSS
2020-09   3523   Á¤ÀǼ®
2020-09   6536   ½Ì¾î¼Û¶óÀÌÅÍ
2020-09   3089   ½ÅÀº¿Ö
2020-09   5722   sffbig
2020-08   2518   Çï·Î¿ì
2020-08   4493   ÇູÇϼ¼
2020-08   2500   Àü¼³¼ÓÀǹ̡¦
2020-08   2715   GPGPU
2020-08   4319   µÈÀå¸À¹Ù³ª³ª
2020-08   2782   ¹Ý¼º¸¸
2020-08   2462   ÇãÀα¸¸¶Æ¾
2020-08   4095   ½º´Ô9