Python Forum
Pip yüklerken daha önce almadığım hataları alıyorum - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Pip yüklerken daha önce almadığım hataları alıyorum (/thread-30189.html)



Pip yüklerken daha önce almadığım hataları alıyorum - mehmetdgrd - Oct-11-2020

Hi I just started python I was able to add pip with the pip setup (pip name) command before. but when i try to add a pip for 2 days i get an error ...

ERROR: Exception:
Traceback (most recent call last):
  File "c:\python\lib\site-packages\pip\_internal\cli\base_command.py", line 228, in _main
    status = self.run(options, args)
  File "c:\python\lib\site-packages\pip\_internal\cli\req_command.py", line 182, in wrapper
    return func(self, options, args)
  File "c:\python\lib\site-packages\pip\_internal\commands\install.py", line 323, in run
    requirement_set = resolver.resolve(
  File "c:\python\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 183, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "c:\python\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 388, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "c:\python\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 339, in _get_abstract_dist_for
    self._populate_link(req)
  File "c:\python\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 305, in _populate_link
    req.link = self._find_requirement_link(req)
  File "c:\python\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 270, in _find_requirement_link
    best_candidate = self.finder.find_requirement(req, upgrade)
  File "c:\python\lib\site-packages\pip\_internal\index\package_finder.py", line 898, in find_requirement
    best_candidate_result = self.find_best_candidate(
  File "c:\python\lib\site-packages\pip\_internal\index\package_finder.py", line 881, in find_best_candidate
    candidates = self.find_all_candidates(project_name)
  File "c:\python\lib\site-packages\pip\_internal\index\package_finder.py", line 825, in find_all_candidates
    package_links = self.process_project_url(
  File "c:\python\lib\site-packages\pip\_internal\index\package_finder.py", line 790, in process_project_url
    html_page = self._link_collector.fetch_page(project_url)
  File "c:\python\lib\site-packages\pip\_internal\index\collector.py", line 643, in fetch_page
    return _get_html_page(location, session=self.session)
  File "c:\python\lib\site-packages\pip\_internal\index\collector.py", line 455, in _get_html_page
    resp = _get_html_response(url, session=session)
  File "c:\python\lib\site-packages\pip\_internal\index\collector.py", line 152, in _get_html_response
    resp = session.get(
  File "c:\python\lib\site-packages\pip\_vendor\requests\sessions.py", line 543, in get
    return self.request('GET', url, **kwargs)
  File "c:\python\lib\site-packages\pip\_internal\network\session.py", line 421, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "c:\python\lib\site-packages\pip\_vendor\requests\sessions.py", line 520, in request
    settings = self.merge_environment_settings(
  File "c:\python\lib\site-packages\pip\_vendor\requests\sessions.py", line 699, in merge_environment_settings
    env_proxies = get_environ_proxies(url, no_proxy=no_proxy)
  File "c:\python\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:\python\lib\site-packages\pip\_vendor\requests\utils.py", line 750, in should_bypass_proxies
    bypass = proxy_bypass(parsed.hostname)
  File "c:\python\lib\site-packages\pip\_vendor\requests\utils.py", line 96, in proxy_bypass
    return proxy_bypass_registry(host)
  File "c:\python\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: ''[/font][/font]
 
Please, do you help me, guys, I'm sorry if I opened the subject in the wrong place.


RE: Pip yüklerken daha önce almadığım hataları alıyorum - jefsummers - Oct-11-2020

Value error in the last error message suggests your int() function contains non-numeric characters.


RE: Pip yüklerken daha önce almadığım hataları alıyorum - buran - Oct-11-2020

The common language used on the forum is english. Indeed there is no restriction to post in other language, but chances to get answer are smaller, and even smaller - in Turkish.
I would suggest you use service like Google translate if not confident for benefit of all, instead of expecting everyone to translate your question. Consider it common courtesy.