- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to load datasets from kaggle datasets or google drive. I'm using Intel DevCloud jupyter notebook. How can I do it?
- Tags:
- General Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please create a conda enviroment using the below commands and follow the same steps as suggested earlier
conda create -n my_env -c intel python=3.6 source activate my_env pip install kaggle --user
Hope this helps for you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
Could you please try out the below steps to access Kaggle API in devcloud through command line.
Step 1: Install kaggle using pip as follows
pip install kaggle --user
Now, run
kaggle -h
to check whether it is installed successfully.
Step 2: To use Kaggle API, create an account in kaggle official page(https://www.kaggle.com). Then, go to "My Account" tab of user's profile and select "create new API token". This will download the kaggle.json file in your system.
Step 3: Create a .kaggle folder in devcloud home folder
mkdir .kaggle
Now, copy the kaggle.json to that folder.
Step 4: In order to download kaggle datasets,first search for your desired dataset using the below command in devcloud terminal
kaggle datasets list -s [KEYWORD]
Eg: If you want to download creditcard fraud detection dataset, then search like this
kaggle datasets list -s credit
It will list all the datasets available with this keyword.For example,
isaikumar/creditcardfraud Credit Card Fraud Detection Dataset 66MB 2018-05-05 09:38:01 1797 30 0.5882353
ananta/credit-card-data Credit Card Data 1MB 2018-08-24 02:22:36 1218 15 0.64705884
wendykan/lending-club-loan-data Lending Club Loan Data 720MB 2019-03-18 18:43:12 68843 1238 0.7352941
Step 5: To download the dataset titled "Credit Card Fraud Detection Dataset",
kaggle datasets download isaikumar/creditcardfraud
Hope it helps. Please feel free to reach out to us for further issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I run the command
pip install kaggle --user
It shows the following error message:
OSError: [Errno 30] Read-only file system: '/glob/intel-python/versions/2018u2/intelpython3/lib/python3.6/site-packages/tqdm'
Not only for this command. The same error message shows for pip install something. Please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please create a conda enviroment using the below commands and follow the same steps as suggested earlier
conda create -n my_env -c intel python=3.6 source activate my_env pip install kaggle --user
Hope this helps for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Chithra_Intel (Intel) wrote:Hi,
Could you please create a conda enviroment using the below commands and follow the same steps as suggested earlier
conda create -n my_env -c intel python=3.6 source activate my_env pip install kaggle --userHope this helps for you.
Thanks a lot. It has been fixed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please confirm whether you are able to download kaggle datasets without any issues using the solution provided.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Chithra_Intel (Intel) wrote:Hi,
Could you please confirm whether you are able to download kaggle datasets without any issues using the solution provided.
Yes. I'm able to download kaggle datasets without any issues using the solution provided. Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the confirmation.
We are closing the case. Please feel free to raise a new thread in case if you face any further issues.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page