Closed mrtobie closed 2 years ago
Hi, it looks like you're using Windows, which may break some of the downloading and path manipulation logic in the repo. We don't support Windows, but it might be helpful to look into modifying os.path.join
to work on your OS in the file folktables/load_acs.py
. I'm closing this issue, but if you believe the downloading issue isn't Window's specific please re-open it.
Hi, As a fellow windows user I ran into this same issue. Thought I would post the solution I came up with for any other windows users who want to use this dataset.
As @millerjohnp suggested, within folktables/load_acs.py
find the function initialize_and_download.
modify the line of code setting the url (line 73 at the time of writing this)
From: url = os.path.join(base_url, remote_fname)
To: url = base_url + "/" + remote_fname
The reason for this change is that os.path.join on windows will put a '\' in between the path, but for a url the separator should always be '/' no matter the os.
Note: There are other libraries that exist for combining url paths that could be used but this worked for my purposes.
Hi there, I am very looking forward to study the data and therefore using your package.
I have a problem when using your quick start examples. It seems to be an issue with the downloaded .zip files (for example csv_pca.zip). I run the code just as suggested.
I tried to manually download the .zip-file and set download=False, but that lead to a FileNotFoundError.
Here is my .ipynb with the occuring error message: