This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error installing WEST "No matching distribution found for west"

Hello,

I am getting several issues to install west, and samples look they don´t work without west... Any help ? Thanks

Here is the log from CMD.

Parents
  • Hello Heidi,

    yes I am using nRF Connect,When I try to install west  (on the step 2) is when I got this error...

     here is the ERROR

      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('
    bject at 0x00000000042EBDF0>: Failed to establish a new connection: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte')': /simple/west
    /                                                                                                                                                                                                  
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('
    bject at 0x00000000042EB460>: Failed to establish a new connection: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte')': /simple/west
    /                                                                                                                                                                                                  
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('
    bject at 0x00000000042EBDC0>: Failed to establish a new connection: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte')': /simple/west
    /                                                                                                                                                                                                  
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('
    bject at 0x00000000042EB730>: Failed to establish a new connection: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte')': /simple/west
    /                                                                                                                                                                                                  
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('
    bject at 0x00000000042EB400>: Failed to establish a new connection: [WinError 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte')': /simple/west
    /                                                                                                                                                                                                  
      ERROR: Could not find a version that satisfies the requirement west (from versions: none)                                                                                                        
    ERROR: No matching distribution found for west                                                                                                                                                     
                                                                                                                                                                                                       
    

  • It should be last version, I have installed some weeks ago for these tests...Can the issue be on the proxy side?  I will check with our technical team if they can find something...

    Thanks,

    Ana

  • I have the same issue but I am definitely connected to the internet. Would it be possible that my company's firewall is the one that's preventing a connection to west's servers? If so, would there be a way around this (i.e should I try installing it using my personal internet from home) ?

    C:\windows\system32>pip3 install -v west
    Created temporary directory: C:\Users\schmialf\AppData\Local\Temp\pip-ephem-wheel-cache-bstwm1ni
    Created temporary directory: C:\Users\schmialf\AppData\Local\Temp\pip-req-tracker-oqo5g7o8
    Created requirements tracker 'C:\\Users\\schmialf\\AppData\\Local\\Temp\\pip-req-tracker-oqo5g7o8'
    Created temporary directory: C:\Users\schmialf\AppData\Local\Temp\pip-install-vbuth_ef
    Collecting west
      1 location(s) to search for versions of west:
      * https://pypi.org/simple/west/
      Getting page https://pypi.org/simple/west/
      Found index url https://pypi.org/simple
      Looking up "https://pypi.org/simple/west/" in the cache
      Request header has "max_age" as 0, cache bypassed
      Starting new HTTPS connection (1): pypi.org:443
      Incremented Retry for (url='/simple/west/'): Retry(total=4, connect=None, read=None, redirect=None, status=None)
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001D155F56CD0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/west/
      Starting new HTTPS connection (2): pypi.org:443
      Incremented Retry for (url='/simple/west/'): Retry(total=3, connect=None, read=None, redirect=None, status=None)
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001D155F56D30>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/west/
      Starting new HTTPS connection (3): pypi.org:443
      Incremented Retry for (url='/simple/west/'): Retry(total=2, connect=None, read=None, redirect=None, status=None)
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001D155F6C3D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/west/
      Starting new HTTPS connection (4): pypi.org:443
      Incremented Retry for (url='/simple/west/'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001D155F6C820>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/west/
      Starting new HTTPS connection (5): pypi.org:443
      Incremented Retry for (url='/simple/west/'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001D155F6C760>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/west/
      Starting new HTTPS connection (6): pypi.org:443
      Could not fetch URL https://pypi.org/simple/west/: connection error: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/west/ (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001D155F6C640>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')) - skipping
      Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
      Given no hashes to check 0 links for project 'west': discarding no candidates
      ERROR: Could not find a version that satisfies the requirement west (from versions: none)
    Cleaning up...
    Removed build tracker 'C:\\Users\\schmialf\\AppData\\Local\\Temp\\pip-req-tracker-oqo5g7o8'
    ERROR: No matching distribution found for west
    Exception information:
    Traceback (most recent call last):
      File "c:\python38\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in main
        status = self.run(options, args)
      File "c:\python38\lib\site-packages\pip\_internal\commands\install.py", line 345, in run
        resolver.resolve(requirement_set)
      File "c:\python38\lib\site-packages\pip\_internal\legacy_resolve.py", line 196, in resolve
        self._resolve_one(requirement_set, req)
      File "c:\python38\lib\site-packages\pip\_internal\legacy_resolve.py", line 359, in _resolve_one
        abstract_dist = self._get_abstract_dist_for(req_to_install)
      File "c:\python38\lib\site-packages\pip\_internal\legacy_resolve.py", line 305, in _get_abstract_dist_for
        abstract_dist = self.preparer.prepare_linked_requirement(
      File "c:\python38\lib\site-packages\pip\_internal\operations\prepare.py", line 134, in prepare_linked_requirement
        req.populate_link(finder, upgrade_allowed, require_hashes)
      File "c:\python38\lib\site-packages\pip\_internal\req\req_install.py", line 211, in populate_link
        self.link = finder.find_requirement(self, upgrade)
      File "c:\python38\lib\site-packages\pip\_internal\index.py", line 1227, in find_requirement
        raise DistributionNotFound(
    pip._internal.exceptions.DistributionNotFound: No matching distribution found for west
    1 location(s) to search for versions of pip:
    * https://pypi.org/simple/pip/
    Getting page https://pypi.org/simple/pip/
    Found index url https://pypi.org/simple
    Looking up "https://pypi.org/simple/pip/" in the cache
    Request header has "max_age" as 0, cache bypassed
    Starting new HTTPS connection (1): pypi.org:443
    Could not fetch URL https://pypi.org/simple/pip/: connection error: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001D155F568E0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')) - skipping
    Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
    Given no hashes to check 0 links for project 'pip': discarding no candidates

    Greatly appreciate your help on this matter :))

    Thank you in advanced!!

  • Hi, yes, it can very likely be your company's firewall preventing the connection. You could try installing using your personal internet and see if that solves the issue. 

    If it does, I suggest talking to your IT department about this limitation. 

    For more questions on this matter, please make a new ticket on DevZone and link it to this case.

    Best regards,

    Heidi

  • Thank you, this issue has been resolving using a personal internet.

Reply Children
No Data
Related