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

set ENV["DATADEPS_ALWAYS_ACCEPT"] = true #103

Open
CarloLucibello opened this issue Mar 25, 2022 · 4 comments
Open

set ENV["DATADEPS_ALWAYS_ACCEPT"] = true #103

CarloLucibello opened this issue Mar 25, 2022 · 4 comments

Comments

@CarloLucibello
Copy link
Member

Having to say "yes" each time seems just an annoyance.

I think this should be considered a breaking change.

@johnnychen94
Copy link
Member

I disagree. We can't represent our users to agree on the terms. He should agree on the terms by himself, or set the environment by himself.

@johnnychen94
Copy link
Member

johnnychen94 commented May 19, 2022

A possible alternative to make the experience smoother is to really highlight the license note somewhere so that everyone knows it.

For instance, it can be put to https://juliaml.github.io/MLDatasets.jl/stable/#Installation with something like

!!! note "License"
    This package only provides a convenient API to read commonly used datasets from the internet. Make
    sure you follow the license requirement of the dataset you're trying to use.

@alecloudenback
Copy link

alecloudenback commented Dec 16, 2024

I'm trying to run some code on a remote machine and it's getting stuck at the step of saying "yes" to downloading the data. How can I say yes programmatically rather than via the REPL? I understand the view that the user should accept the license before downloading, but I'd like some way to not have to use the REPL to do so.

@CarloLucibello
Copy link
Member Author

Just put

ENV["DATADEPS_ALWAYS_ACCEPT"] = true

in your julia code.

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

3 participants