# Package MNIST not found

**URL:** https://discourse.julialang.org/t/package-mnist-not-found/31352
**Category:** Machine Learning
**Tags:** question
**Created:** [November 21, 2019, 3:20pm UTC](https://discourse.julialang.org/t/package-mnist-not-found/31352 "2019-11-21T15:20:17Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [November 21, 2019, 3:20pm UTC](https://discourse.julialang.org/t/package-mnist-not-found/31352/1 "2019-11-21T15:20:17Z")

</div>

Attempting to follow the example on

[https://fluxml.ai/Flux.jl/v0.2/examples/logreg.html](https://fluxml.ai/Flux.jl/v0.2/examples/logreg.html)

for ‘Simple MNIST’ the package ‘MNIST’ cannot be found using Pkg.add

[I have spent hours just trying to run the first line of this ‘simple’ tutorial]

Thanks for any help [also for my students]

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [November 21, 2019, 3:28pm UTC](https://discourse.julialang.org/t/package-mnist-not-found/31352/2 "2019-11-21T15:28:07Z")

</div>

It looks like the package isn’t in the general registry, try installing it by doing:

```julia
pkg> add "https://github.com/johnmyleswhite/MNIST.jl"

```

---

<div class="post-metadata">

### Author: ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)
#### Post date: [November 21, 2019, 3:38pm UTC](https://discourse.julialang.org/t/package-mnist-not-found/31352/3 "2019-11-21T15:38:06Z")

</div>

> [@nilshg](#):
>
> “[GitHub - johnmyleswhite/MNIST.jl: Tools for working with the MNIST data set](https://github.com/johnmyleswhite/MNIST.jl)”

Thank you so much!!! [Maybe this should be added to the page]

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [November 21, 2019, 3:43pm UTC](https://discourse.julialang.org/t/package-mnist-not-found/31352/4 "2019-11-21T15:43:25Z")

</div>

cc @MikeInnes

---

<div class="post-metadata">

### Author: ![Paul\_Schrimpf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paul_schrimpf/32/10134_2.png) [@Paul\_Schrimpf](https://discourse.julialang.org/u/Paul_Schrimpf)
#### Post date: [November 22, 2019, 5:10pm UTC](https://discourse.julialang.org/t/package-mnist-not-found/31352/5 "2019-11-22T17:10:51Z")

</div>

I believe MNIST is included in Flux. Examples from the Flux model zoo load MNIST with

```julia
using Flux.Data.MNIST

```

One example is [https://github.com/FluxML/model-zoo/blob/master/vision/mnist/mlp.jl](https://github.com/FluxML/model-zoo/blob/master/vision/mnist/mlp.jl)
