ludwig datasets download throws errors #3048
Replies: 3 comments 7 replies
-
Thanks for reporting @AnoopRKulkarni! @connor-mccorm can you take a look? |
Beta Was this translation helpful? Give feedback.
-
Hi @AnoopRKulkarni, could you possibly show me the command that you are using to load this dataset? I'm trying to repro on my end and am wondering which code path to work through. Additionally, could you try running this command and see if it produces the same error:
Let me know, thanks! |
Beta Was this translation helpful? Give feedback.
-
OK. it is solved. I checked for certificate related errors and needed to run the following on my Ubuntu. #sudo update-ca-certificates --fresh Ludwig is now running smoothly. Apologies for diverting your attention for an issue that maybe was just local. Really appreciate the interaction. Thanks and regards |
Beta Was this translation helpful? Give feedback.
-
Dear all,
I am using Ubuntu 22.04. I tried with both Python v 3.8.5 and 3.10.2. I installed them with pyenv and created virtualenv using pyenv and then did "pip install ludwig". The installation goes through smoothly, but when I run datasets download command I get the same error irrespective of the machine (laptop/desktop) or Python version.
Do advise what could be the issue here. Here is the trace..
ludwig v0.6.4 - Datasets download
Traceback (most recent call last):
File "/home/anoop/.pyenv/versions/ludwig-ai/bin/ludwig", line 8, in
sys.exit(main())
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/ludwig/cli.py", line 172, in main
CLI()
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/ludwig/cli.py", line 67, in init
getattr(self, args.command)()
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/ludwig/cli.py", line 167, in datasets
datasets.cli(sys.argv[2:])
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/ludwig/datasets/init.py", line 83, in cli
download_dataset(args.dataset, args.output_dir)
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/ludwig/datasets/init.py", line 34, in download_dataset
dataset_obj.process()
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/ludwig/datasets/base_dataset.py", line 53, in process
self.download()
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/ludwig/datasets/base_dataset.py", line 48, in download
self.download_raw_dataset()
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/ludwig/datasets/mixins/download.py", line 160, in download_raw_dataset
fs.get(url, os.path.join(tmpdir, filename), recursive=True)
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/fsspec/asyn.py", line 114, in wrapper
return sync(self.loop, func, *args, **kwargs)
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/fsspec/asyn.py", line 99, in sync
raise return_result
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/fsspec/asyn.py", line 54, in _runner
result[0] = await coro
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/fsspec/asyn.py", line 531, in _get
rpaths = await self._expand_path(rpath, recursive=recursive)
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/fsspec/asyn.py", line 737, in _expand_path
out = await self._expand_path([path], recursive, maxdepth)
File "/home/anoop/.pyenv/versions/ludwig-ai/lib/python3.8/site-packages/fsspec/asyn.py", line 761, in _expand_path
raise FileNotFoundError(path)
FileNotFoundError: ['https://raw.githubusercontent.com/mhjabreel/CharCnn_Keras/master/data/ag_news_csv/train.csv']
Many thanks and regards
~anoop
Beta Was this translation helpful? Give feedback.
All reactions