# Trouble installing an Excel reader

**URL:** https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419
**Category:** General Usage
**Tags:** installation, xlsx
**Created:** [December 26, 2020, 7:57pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419 "2020-12-26T19:57:40Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Michael\_Barmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michael_barmann/32/20389_2.png) [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)
#### Post date: [December 26, 2020, 7:57pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/1 "2020-12-26T19:57:40Z")

</div>

I’d like to read in some data from an Excel file, but I am having trouble installing an Excel reader. After issuing the `using Pkg` command, the following attempts all gave me the same error:  
`Pkg.add("XLSX")`  
`Pkg.add("ExcelFiles")`  
`Pkg.add("ExcelReaders")`  
`Pkg.add("XLSXReader")`  
`Pkg.add("Taro")`

These all gave the following error:

> ERROR: The following package names could not be resolved:
> 
> - XLSX (not found in project, manifest or registry)

How can I install one of these? (I just need one of them to work! But ideally I’d like whatever is the recommended one.)

---

<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: [December 26, 2020, 8:20pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/2 "2020-12-26T20:20:32Z")

</div>

I don’t think this is an issue with Excel readers, as at a minimum two of these are in the General registry, so it looks like your registry is missing or corrupted? What are you getting from

```julia
(@v1.7) pkg> registry st
Registry Status 
 [23338594] General (https://github.com/JuliaRegistries/General.git)

```

(i.e. entering package REPL mode via `]` and then running `registry st`)

---

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [December 26, 2020, 8:22pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/3 "2020-12-26T20:22:13Z")

</div>

Maybe issuing a `] update` ??

---

<div class="post-metadata">

### Author: ![Michael\_Barmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michael_barmann/32/20389_2.png) [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)
#### Post date: [December 26, 2020, 8:40pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/4 "2020-12-26T20:40:18Z")

</div>

Hi, thanks for your reply. This is what I got:

````julia
Registry Status 
 [bbcd6645] JuliaComputingRegistry (https://github.com/JuliaComputing/JuliaComputingRegistry)```
````

---

<div class="post-metadata">

### Author: ![Michael\_Barmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michael_barmann/32/20389_2.png) [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)
#### Post date: [December 26, 2020, 8:42pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/5 "2020-12-26T20:42:33Z")

</div>

Thanks for the reply. I tried that but strangely I got this message:

````julia
   Updating registry at `C:\Users\Michael\.julia\registries\JuliaComputingRegistry`
ERROR: expected package `Juno [e5e0dc1b]` to be registered```
````

---

<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: [December 26, 2020, 9:02pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/6 "2020-12-26T21:02:21Z")

</div>

Are you using JuliaPro? Maybe these packages aren’t in the JuliaPro registry, which I think is different from the General registry. Try adding the general registry as described [here](https://julialang.github.io/Pkg.jl/v1/registries/#Adding-registries)

---

<div class="post-metadata">

### Author: ![Michael\_Barmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michael_barmann/32/20389_2.png) [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)
#### Post date: [December 26, 2020, 9:38pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/7 "2020-12-26T21:38:40Z")

</div>

Ok I attempted to add the registry but it gave me this:

```julia
(@v1.5) pkg> registry add https://github.com/JuliaRegistries/General
    Cloning registry from "https://github.com/JuliaRegistries/General"
ERROR: SystemError: opening file "C:\\Users\\Michael\\.julia\\registries\\General\\Registry.toml": No such file or directory

```

(Though it seemed like it downloaded something before it gave me the error…not sure though…) And I don’t have JuliaPro installed, just Julia 1.5.3. Do I need to install JuliaPro? (Sorry if these are very dumb questions. I’m a complete Julia newbie.)

---

<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: [December 26, 2020, 9:41pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/8 "2020-12-26T21:41:57Z")

</div>

Try deleting `C:\Users\Michael\.julia\registries\General` and do a `Pkg.update()`.

No you don’t need JuliaPro, but I was surprised to see that you got this `JuliaComputing` registry rather than just `General`

---

<div class="post-metadata">

### Author: ![Michael\_Barmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michael_barmann/32/20389_2.png) [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)
#### Post date: [December 26, 2020, 9:48pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/9 "2020-12-26T21:48:48Z")

</div>

Just did that and here’s what I got:

```julia
   Updating registry at `C:\Users\Michael\.julia\registries\JuliaComputingRegistry`
ERROR: expected package `Juno [e5e0dc1b]` to be registered

```

I’m confused because I’m using VSCode, not Juno.

---

<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: [December 26, 2020, 10:03pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/10 "2020-12-26T22:03:06Z")

</div>

Why do you have the `Juno` package if you’re using VSCode? Are you getting the same error in a standard REPL outside of VSCode? If you’ve only just started and don’t have any environments etc. you want to preserve you can try deleting the whole `.julia` folder and start from scratch.

---

<div class="post-metadata">

### Author: ![Michael\_Barmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michael_barmann/32/20389_2.png) [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)
#### Post date: [December 26, 2020, 10:11pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/11 "2020-12-26T22:11:41Z")

</div>

I actually downloaded Juno/Atom and Julia several months ago but only played with it for a couple hours. (I recently read a post somewhere that said VSCode was now preferred over Juno because Juno is no longer supported or something.)

I’m not sure what you mean by “standard REPL.” I’ll try your suggestion of removing Julia and starting from scratch. And this time I’m thinking I should download JuliaPro, because it seems to come with a lot of useful stuff I might want…Maybe that would fix the original issue?

---

<div class="post-metadata">

### Author: ![Michael\_Barmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michael_barmann/32/20389_2.png) [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)
#### Post date: [December 26, 2020, 11:07pm UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/12 "2020-12-26T23:07:03Z")

</div>

So I uninstalled Julia and then downloaded and installed Julia Pro. I then tried to add the XLSX package in VSCode and in Atom, as I tried before, but it still didn’t work for either ☹

---

<div class="post-metadata">

### Author: ![Michael\_Barmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/michael_barmann/32/20389_2.png) [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)
#### Post date: [December 27, 2020, 2:12am UTC](https://discourse.julialang.org/t/trouble-installing-an-excel-reader/52419/13 "2020-12-27T02:12:22Z")

</div>

Update! I solved the issue by deleting the registries folder within my .julia folder. Then in the REPL I went into package mode and entered `update`. It then re-downloaded all of the contents from the registries folder. Once the folder was re-downloaded, I was able to install XLSX using the commands: `using Pkg` followed by `Pkg.add("XLSX")`. Many thanks, nilshg for taking the time to help me!!
