# Cannot install dataset dependency

**URL:** https://discourse.julialang.org/t/cannot-install-dataset-dependency/77520
**Category:** New to Julia
**Tags:** question
**Created:** [March 7, 2022, 3:34pm UTC](https://discourse.julialang.org/t/cannot-install-dataset-dependency/77520 "2022-03-07T15:34:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Brian\_Phelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brian_phelan/32/34372_2.png) [@Brian\_Phelan](https://discourse.julialang.org/u/Brian_Phelan)
#### Post date: [March 7, 2022, 3:34pm UTC](https://discourse.julialang.org/t/cannot-install-dataset-dependency/77520/1 "2022-03-07T15:34:48Z")

</div>

I’m currently training a classifier using Pluto and Julia and I need to install the CIFAR10 dataset. When I run the Julia file through Pluto it works fine but it won’t install the dataset dependency. I know the code on the workbook side is correct but it won’t let me answer Yes/No for the installation.

```julia
Opening http://localhost:1234/?secret=ebW5BUFh in your default browser... ~ have fun!

Press Ctrl+C in this terminal to stop Pluto

    Updating registry done ✓
      From worker 5:	WARNING: could not import HDF5.exists into MAT
      From worker 5:	This program has requested access to the data dependency CIFAR10.
      From worker 5:	which is not currently installed. It can be installed automatically, and you will not see this message again.
      From worker 5:	
      From worker 5:	Dataset: The CIFAR-10 dataset
      From worker 5:	Authors: Alex Krizhevsky, Vinod Nair, Geoffrey Hinton
      From worker 5:	Website: https://www.cs.toronto.edu/~kriz/cifar.html
      From worker 5:	Reference: https://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf
      From worker 5:	
      From worker 5:	[Krizhevsky, 2009]
      From worker 5: Alex Krizhevsky.
      From worker 5: "Learning Multiple Layers of Features from Tiny Images",
      From worker 5: Tech Report, 2009.
      From worker 5:	
      From worker 5:	The CIFAR-10 dataset is a labeled subsets of the 80
      From worker 5:	million tiny images dataset. It consists of 60000
      From worker 5:	32x32 colour images in 10 classes, with 6000 images
      From worker 5:	per class.
      From worker 5:	
      From worker 5:	The compressed archive file that contains the
      From worker 5:	complete dataset is available for download at the
      From worker 5:	offical website linked above; specifically the binary
      From worker 5:	version for C programs. Note that using the data
      From worker 5:	responsibly and respecting copyright remains your
      From worker 5:	responsibility. The authors of CIFAR-10 aren't really
      From worker 5:	explicit about any terms of use, so please read the
      From worker 5:	website to make sure you want to download the
      From worker 5:	dataset.
      From worker 5:	
      From worker 5:	
      From worker 5:	
      From worker 5:	Do you want to download the dataset from https://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz to "/Users/phelo/.julia/datadeps/CIFAR10"?
      From worker 5:	[y/n]
y
      From worker 5:	This program has requested access to the data dependency CIFAR10.
      From worker 5:	which is not currently installed. It can be installed automatically, and you will not see this message again.
      From worker 5:	
      From worker 5:	Dataset: The CIFAR-10 dataset
      From worker 5:	Authors: Alex Krizhevsky, Vinod Nair, Geoffrey Hinton
      From worker 5:	Website: https://www.cs.toronto.edu/~kriz/cifar.html
      From worker 5:	Reference: https://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf
      From worker 5:	
      From worker 5:	[Krizhevsky, 2009]
      From worker 5: Alex Krizhevsky.
      From worker 5: "Learning Multiple Layers of Features from Tiny Images",
      From worker 5: Tech Report, 2009.
      From worker 5:	
      From worker 5:	The CIFAR-10 dataset is a labeled subsets of the 80
      From worker 5:	million tiny images dataset. It consists of 60000
      From worker 5:	32x32 colour images in 10 classes, with 6000 images
      From worker 5:	per class.
      From worker 5:	
      From worker 5:	The compressed archive file that contains the
      From worker 5:	complete dataset is available for download at the
      From worker 5:	offical website linked above; specifically the binary
      From worker 5:	version for C programs. Note that using the data
      From worker 5:	responsibly and respecting copyright remains your
      From worker 5:	responsibility. The authors of CIFAR-10 aren't really
      From worker 5:	explicit about any terms of use, so please read the
      From worker 5:	website to make sure you want to download the
      From worker 5:	dataset.
      From worker 5:	
      From worker 5:	
      From worker 5:	
      From worker 5:	Do you want to download the dataset from https://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz to "/Users/phelo/.julia/datadeps/CIFAR10"?
      From worker 5:	[y/n]
y
y

```

---

<div class="post-metadata">

### Author: ![lawless-m](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lawless-m/32/30869_2.png) [@lawless-m](https://discourse.julialang.org/u/lawless-m)
#### Post date: [March 9, 2022, 2:23pm UTC](https://discourse.julialang.org/t/cannot-install-dataset-dependency/77520/2 "2022-03-09T14:23:18Z")

</div>

Can you manually download

`https://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz`

and save it in the folder (which you may or may not have to create)

`/Users/phelo/.julia/datadeps/CIFAR10/`

and try again  
?

---

<div class="post-metadata">

### Author: ![Plectro](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@Plectro](https://discourse.julialang.org/u/Plectro)
#### Post date: [March 11, 2022, 12:54pm UTC](https://discourse.julialang.org/t/cannot-install-dataset-dependency/77520/3 "2022-03-11T12:54:54Z")

</div>

This worked for me, thank you!
