Skip to content

Installing Cyclus without internet access? #1828

Open

Description

Sometimes I try to install Cyclus when I don't have internet (mostly on a plane). I assume the internet should not be required if building from source and all dependencies are installed? Or maybe just if re-building Cyclus, but a build from scratch/clean build does need internet access?

So my question is, is the internet abolutely required to install Cyclus? If it's not, could there be a flag to install without the internet, or a modification so the build tries to proceed even if it can't get to whatever its looking for online? Mostly a question for @bennibbelink, but maybe @gonuke has some insight here too.

In a clean build I hit this early:

Performing download step (download, verify and extract) for 'googletest-populate'
-- Downloading...
   dst='/cyclus/cyclus/build/_deps/googletest-subbuild/googletest-populate-prefix/src/v1.14.0.zip'
   timeout='none'
   inactivity timeout='none'
-- Using src='https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip'
-- Retrying...

There is also one point in the python install at the end where the build fails even if just re-installing with no changes to the source code from a previous successful install. Pip is looking for setuptools (at least as the first package) even when I have setuptools installed

############### Begin Python Install ###############
Processing /cyclus/cyclus/build
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) 
after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection 
object at 0x7f64ebe0f040>: Failed to establish a new connection: [Errno -3] Temporary failure in 
name resolution')': /simple/setuptools/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions