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

Issue on page /notebooks/getting_started.html #33

Open
jackwalleninstituteorg opened this issue Nov 20, 2023 · 0 comments
Open

Issue on page /notebooks/getting_started.html #33

jackwalleninstituteorg opened this issue Nov 20, 2023 · 0 comments

Comments

@jackwalleninstituteorg
Copy link

FileNotFoundError: [Errno 2] No such file or directory: 'aws': 'aws'

when attempting download:

for r in manifest['directory_listing'] :

r_dict =  manifest['directory_listing'][r]

for d in r_dict['directories'] :
    
    if d != 'metadata' :
        continue
    d_dict = r_dict['directories'][d]
    local_path = os.path.join( download_base, d_dict['relative_path'])
    local_path = pathlib.Path( local_path )
    remote_path = manifest['resource_uri'] + d_dict['relative_path']
    
    command = "aws s3 sync --no-sign-request %s %s" % (remote_path, local_path)
    print(command)
    
    start = time.process_time()
    # Uncomment to download directories
    result = subprocess.run(command.split(),stdout=subprocess.PIPE)
    print("time taken: ", time.process_time() - start)
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