-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
dataset.download() Unsupported Linux distribution #1003
Comments
@Radeju |
thanks for the feedback. We have recorded the feedback and added it as a feature request on our roadmap. |
@MayMSFT Hi May, are we good to close this or you want me to keep it open? Thanks. |
Hi! I'm planning to switch our pipeline from 18.04 to 20.04 soon as well. Based on the log seems distro version is asserted by a whitelist. IMHO this is a bad design which can probably affect a lot of not-so-popular distros like arch or mint. |
Unfortunately, it depends on legal approval. @tot0 to share more details |
@xkszltl Hi, I unfortunately don't have any concrete timeline for official support of new linux distros. The legal processes involved distributing open source packages so that normally Datasets 'just works' require care and aren't moving as fast as we'd hope. Datasets will only return saying 'Unsupported Distro' if the required dependencies for .NET Core 2.1 are not present on default library paths AND a pre-prepared dependency set doesn't exist. @xkszltl Would you be able to try the first command here to install .NET Cores dependencies for Ubuntu 20.04 and see if you're able to use dataset.download()? |
Of course, if it is just a matter of installing .NET it's totally fine for us. Is 2.1 a exact or minimum requirement? |
Currently Datasets requires .NET Core 2.1 |
@Radeju |
Getting same issue trying to use "from azureml.opendatasets import Diabetes" with error "Unsupported Linux distribution ubuntu 20.04". Tried suggested by @tot0 but didnt resolve: |
Had this error again trying to access my own dataset in a storage account blob, error as follows. Code is being run as a local jupyter notebook on Ubuntu 20.04. Code is the "day1-part4-data" notebook: which fails on line: `HTTPError Traceback (most recent call last) ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/dotnetcore2/runtime.py in blob_deps_to_file() ~/anaconda3/envs/pybasic383/lib/python3.8/urllib/request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context) ~/anaconda3/envs/pybasic383/lib/python3.8/urllib/request.py in open(self, fullurl, data, timeout) ~/anaconda3/envs/pybasic383/lib/python3.8/urllib/request.py in http_response(self, request, response) ~/anaconda3/envs/pybasic383/lib/python3.8/urllib/request.py in error(self, proto, *args) ~/anaconda3/envs/pybasic383/lib/python3.8/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args) ~/anaconda3/envs/pybasic383/lib/python3.8/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs) HTTPError: HTTP Error 404: Not Found During handling of the above exception, another exception occurred: NotImplementedError Traceback (most recent call last) ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/azureml/data/_loggerfactory.py in wrapper(*args, **kwargs) ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/azureml/data/dataset_factory.py in from_files(path, validate) ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/azureml/dataprep/api/dataflow.py in _path_to_get_files_block(path, archive_options) ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/azureml/dataprep/api/_datastore_helper.py in datastore_to_dataflow(data_source, query_timeout) ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/azureml/dataprep/api/_datastore_helper.py in get_datastore_value(data_source) ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/azureml/dataprep/api/_datastore_helper.py in _set_auth_type(workspace) ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/azureml/dataprep/api/engineapi/api.py in get_engine_api() ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/azureml/dataprep/api/engineapi/api.py in init(self) ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/azureml/dataprep/api/engineapi/engine.py in launch_engine() ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/dotnetcore2/runtime.py in ensure_dependencies() ~/anaconda3/envs/pybasic383/lib/python3.8/site-packages/dotnetcore2/runtime.py in attemp_get_deps() NotImplementedError: Unsupported Linux distribution ubuntu 20.04 |
Hi @corticalstack, could you try running the below python snippet in your Ubuntu 20.04 environment? from dotnetcore2 import runtime
runtime._enable_debug_logging()
runtime.ensure_dependencies() This should reveal what dependencies missing for Datasets. For installing .NET Core 2.1 ahead of time did you install Cheers. |
@tot0 Wrt .NET Core 2.1, I believe it was 3.1 as per: Within a Jupyter notebook I added the 3 lines as requested, then executed:
And got what seems like multiple errors trying to log in DEBUG mode:
|
@corticalstack Hmmm, those RunContext debug logs make sense from the Dataset calls, they shouldn't have happened during the Unfortunately the .NET Core docs don't have any specific 2.1 advice anymore. The package |
@tot0 version installed is The only Jupyter output from the 3 lines you shared is as follows: Thanks |
Ok so if |
@tot0 pip uninstalled dotnetcore 2.1.15 and installed latest, all good. Thanks! |
NotImplementedError: Unsupported Linux distribution ubuntu 20.10
Any idea ? |
Issue solved
Don't know if there is a best way to do? |
I am trying to download an AzureML dataset on Ubuntu 20.04. I am using azureml.core library. However, when I try to run it I get following error
Are you planning to support 20.04 version of Ubuntu? Is there any roadmap? I found this issue from 6 months ago and would really appreciate to hear if anything had changed since then.
Right now I am using the workaround from here to make it work.
Warm regards
The text was updated successfully, but these errors were encountered: