# Trouble installing ZeroMQ when installing IJulia in ArchWSL

**URL:** https://discourse.julialang.org/t/trouble-installing-zeromq-when-installing-ijulia-in-archwsl/33961
**Category:** New to Julia
**Tags:** package
**Created:** [January 30, 2020, 4:09am UTC](https://discourse.julialang.org/t/trouble-installing-zeromq-when-installing-ijulia-in-archwsl/33961 "2020-01-30T04:09:42Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![wuli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wuli/32/12549_2.png) [@wuli](https://discourse.julialang.org/u/wuli)
#### Post date: [January 30, 2020, 4:09am UTC](https://discourse.julialang.org/t/trouble-installing-zeromq-when-installing-ijulia-in-archwsl/33961/1 "2020-01-30T04:09:42Z")

</div>

Hi. I am having problems installing ZMQ when I try to install IJulia.  
I am using ArchLinux in WSL2 on Win10 version 19041, julia version 1.3.1.  
Servel weeks ago I have successfully installed IJulia. For some reason I have to reinstall but get this error:

(v1.3) pkg\> add IJulia  
Updating registry at `~/.julia/registries/General`  
Updating git-repo `https://github.com/JuliaRegistries/General.git`  
┌ Warning: Some registries failed to update:  
│ — /home/wuli/.julia/registries/General — failed to fetch from repo  
└ @ Pkg.Types /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/Types.jl:1199  
Resolving package versions…  
ERROR: Unable to automatically install ‘ZeroMQ’ from /home/wuli/.julia/packages/ZeroMQ\_jll/SbMEz/Artifacts.toml’  
Stacktrace:  
[1] (::Pkg.Artifacts.var"#kw##ensure\_artifact\_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Linux,Bool}}, ::typeof(Pkg.Artifacts.ensure\_artifact\_installed), ::String, ::Dict{String,Any}, ::String) at ./none:0  
[2] do\_add!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:505

I deleted ~/.julia and retry but get the same error.

Thank you for your help!

---

<div class="post-metadata">

### Author: ![wuli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wuli/32/12549_2.png) [@wuli](https://discourse.julialang.org/u/wuli)
#### Post date: [January 31, 2020, 6:26am UTC](https://discourse.julialang.org/t/trouble-installing-zeromq-when-installing-ijulia-in-archwsl/33961/2 "2020-01-31T06:26:47Z")

</div>

I have solved it myself, it’s a proxy problem

---

<div class="post-metadata">

### Author: ![Alan\_Garcia\_Granados](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alan_garcia_granados/32/12635_2.png) [@Alan\_Garcia\_Granados](https://discourse.julialang.org/u/Alan_Garcia_Granados)
#### Post date: [February 5, 2020, 3:05am UTC](https://discourse.julialang.org/t/trouble-installing-zeromq-when-installing-ijulia-in-archwsl/33961/3 "2020-02-05T03:05:45Z")

</div>

How did you solve it? I have the same problem on Windows 7

---

<div class="post-metadata">

### Author: ![wuli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wuli/32/12549_2.png) [@wuli](https://discourse.julialang.org/u/wuli)
#### Post date: [February 25, 2020, 7:24am UTC](https://discourse.julialang.org/t/trouble-installing-zeromq-when-installing-ijulia-in-archwsl/33961/4 "2020-02-25T07:24:38Z")

</div>

Just use a proxy, caution that socks5 is not supported by libgit2

---

<div class="post-metadata">

### Author: ![JosenildoFerreira](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@JosenildoFerreira](https://discourse.julialang.org/u/JosenildoFerreira)
#### Post date: [March 3, 2020, 3:20pm UTC](https://discourse.julialang.org/t/trouble-installing-zeromq-when-installing-ijulia-in-archwsl/33961/5 "2020-03-03T15:20:54Z")

</div>

Could you please detail it? I didn’t get how to solve the problem.

---

<div class="post-metadata">

### Author: ![wuli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wuli/32/12549_2.png) [@wuli](https://discourse.julialang.org/u/wuli)
#### Post date: [March 7, 2020, 10:02am UTC](https://discourse.julialang.org/t/trouble-installing-zeromq-when-installing-ijulia-in-archwsl/33961/6 "2020-03-07T10:02:54Z")

</div>

Because I live in China, a proxy is needed to get full speed access to github and [s3.amazon.com](http://s3.amazon.com), I set up a shadowsocksR in windows host and access the network behind it in wsl. I just set $http\_proxy and $https\_proxy to http://$win\_host:8128/ and the problem solved, where 8128 is the port my ssr listening to, the default may be 1080.  
If you are using wsl2 too, you may get the windows host by running  
`cat /etc/resolv.conf | grep nameserver | awk '{print $2}'`  
If you are using wsl1, simply use 127.0.0.1

Could you tell me the detail of your environment, may be you have a different problem form me.

---

<div class="post-metadata">

### Author: ![JosenildoFerreira](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@JosenildoFerreira](https://discourse.julialang.org/u/JosenildoFerreira)
#### Post date: [March 10, 2020, 6:26pm UTC](https://discourse.julialang.org/t/trouble-installing-zeromq-when-installing-ijulia-in-archwsl/33961/7 "2020-03-10T18:26:32Z")

</div>

I solved it in the only way I’m capable of, I copied “.julia” from a computer that was working and pasted in the one that wasn’t.

Thanks for your help anyway.

---

<div class="post-metadata">

### Author: ![JadeLiu13](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jadeliu13/32/14221_2.png) [@JadeLiu13](https://discourse.julialang.org/u/JadeLiu13)
#### Post date: [April 12, 2020, 3:41pm UTC](https://discourse.julialang.org/t/trouble-installing-zeromq-when-installing-ijulia-in-archwsl/33961/8 "2020-04-12T15:41:58Z")

</div>

sorry to disturb. I’m new for julia. How to change the proxy?（because i live in China too…
