Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Nanobox, pip install encountered NewConnectionError. Unable to install packages using pip. #686

Open
dineshsonachalam1996 opened this issue Oct 14, 2018 · 0 comments

Comments

@dineshsonachalam1996
Copy link

dineshsonachalam1996 commented Oct 14, 2018

I installed nanobox for my local computer which runs Ubuntu 18.04.1. Nanobox uses native docker. So, I installed Docker version 18.06.1. I was able to run nanobox which uses boxfile.yml file which tells nanobox to run python engine. After that I tried to install new packages using pip, but it returned NewConnectionError. I am able to install new package using pip in my local computer, but in nanobox it fails.

dinesh@dinesh-Inspiron-5559:~/Desktop/Test$ nanobox run
Preparing environment :

Test (local) :
  ✓ Restoring App

Preparing environment :

Building dev environment :
  ✓ Starting docker container
  ✓ Configuring


                                   **
                                ********
                             ***************
                          *********************
                            *****************
                          ::    *********    ::
                             ::    ***    ::
                           ++   :::   :::   ++
                              ++   :::   ++
                                 ++   ++
                                    +
                    _  _ ____ _  _ ____ ___  ____ _  _
                    |\ | |__| |\ | |  | |__) |  |  \/
                    | \| |  | | \| |__| |__) |__| _/\_

--------------------------------------------------------------------------------
+ You are in a Linux container
+ Your local source code has been mounted into the container
+ Changes to your code in either the container or desktop will be mirrored
+ If you run a server, access it at >> 172.20.0.5
--------------------------------------------------------------------------------

/app $ pip install Flask
Collecting Flask
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2b29152d10>: Failed to establish a new connection: [Errno 113] No route to host',)': /simple/flask/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2b291525d0>: Failed to establish a new connection: [Errno 113] No route to host',)': /simple/flask/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2b291521d0>: Failed to establish a new connection: [Errno 113] No route to host',)': /simple/flask/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2b29159f90>: Failed to establish a new connection: [Errno 113] No route to host',)': /simple/flask/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f2b29159610>: Failed to establish a new connection: [Errno 113] No route to host',)': /simple/flask/
  Could not find a version that satisfies the requirement Flask (from versions: )
No matching distribution found for Flask
@dineshsonachalam1996 dineshsonachalam1996 changed the title pip install encountered NewConnectionError. Unable to install packages using pip. In Nanobox, pip install encountered NewConnectionError. Unable to install packages using pip. Oct 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant