# Need Help with IJulia on Ubuntu 18.04.5 LTS

**URL:** <https://discourse.julialang.org/t/need-help-with-ijulia-on-ubuntu-18-04-5-lts/49118>\
**Category:** New to Julia\
**Created:** [October 27, 2020, 12:18pm UTC](https://discourse.julialang.org/t/need-help-with-ijulia-on-ubuntu-18-04-5-lts/49118 "2020-10-27T12:18:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashwani\_Rathee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ashwani_rathee/32/49551_2.png) [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Post date:** [October 27, 2020, 12:18pm UTC](https://discourse.julialang.org/t/need-help-with-ijulia-on-ubuntu-18-04-5-lts/49118/1 "2020-10-27T12:18:20Z")

</div>

I am having a tiny issue with the Ijulia in jupyter notebook in my ubuntu setup

```julia
(@v1.5) pkg> add IJulia
  Resolving package versions...
  Installed IJulia ─ v1.22.0
Updating `~/.julia/environments/v1.5/Project.toml`
  [7073ff75] + IJulia v1.22.0
Updating `~/.julia/environments/v1.5/Manifest.toml`
  [8f4d0f93] + Conda v1.4.1
  [7073ff75] + IJulia v1.22.0
  [682c06a0] + JSON v0.21.1
  [739be429] + MbedTLS v1.0.3
  [c8ffd9c3] + MbedTLS_jll v2.16.8+0
  [69de0a69] + Parsers v1.0.11
  [b85f4697] + SoftGlobalScope v1.1.0
  [81def892] + VersionParsing v1.2.0
  [c2297ded] + ZMQ v1.2.1
  [8f1865be] + ZeroMQ_jll v4.3.2+5
  [7b1f6079] + FileWatching
   Building IJulia → `~/.julia/packages/IJulia/a1SNk/deps/build.log`

```

So It seemed to have been installed just fine.But  
When I tried opening it in bash

```julia
julia> using IJulia
[Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]

julia> notebook()
[ Info: running `/usr/bin/snap notebook`
Process(setenv(`/usr/bin/snap notebook`; dir="/home/ashwani"), ProcessExited(1))

```

And  
When Opened Jupyter notebook by normal direct method in other terminal

 ![Screenshot from 2020-10-27 17-47-40](https://global.discourse-cdn.com/julialang/original/3X/6/f/6ffbe51bdffa19bbe9a2bbb06a38eb8209a9c7f8.png)  
Pls Guide,any chance this could be due to web browser(this one is firefox)(nope same error persists in google chrome even/0??

---

<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:** [October 28, 2020, 3:39pm UTC](https://discourse.julialang.org/t/need-help-with-ijulia-on-ubuntu-18-04-5-lts/49118/2 "2020-10-28T15:39:35Z")

</div>

I am on 20.04 now, but I never had problems in Ubuntu 18.04… I usually install jupyter in `pip` and then `IJulia` using the julia package manager… try `] build IJulia` again… for sure it is not a browser problem 😉

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [October 28, 2020, 3:51pm UTC](https://discourse.julialang.org/t/need-help-with-ijulia-on-ubuntu-18-04-5-lts/49118/3 "2020-10-28T15:51:55Z")

</div>

Not my area of expertise, but why are snaps coming into the picture here?  
At a command prompt try snap list

Also how was Julia installed on this system?

---

<div class="post-metadata">

**Author:** ![ardsatcg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ardsatcg/32/19001_2.png) [@ardsatcg](https://discourse.julialang.org/u/ardsatcg)\
**Post date:** [October 28, 2020, 4:35pm UTC](https://discourse.julialang.org/t/need-help-with-ijulia-on-ubuntu-18-04-5-lts/49118/4 "2020-10-28T16:35:40Z")

</div>

Set enviroment variables

---

<div class="post-metadata">

**Author:** ![ardsatcg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ardsatcg/32/19001_2.png) [@ardsatcg](https://discourse.julialang.org/u/ardsatcg)\
**Post date:** [October 28, 2020, 4:38pm UTC](https://discourse.julialang.org/t/need-help-with-ijulia-on-ubuntu-18-04-5-lts/49118/5 "2020-10-28T16:38:17Z")

</div>

Or update jupyter notebook, pip, anaconda, or something related, idk for Ubuntu, same as windows?

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [October 28, 2020, 4:59pm UTC](https://discourse.julialang.org/t/need-help-with-ijulia-on-ubuntu-18-04-5-lts/49118/6 "2020-10-28T16:59:48Z")

</div>

I think I have the answer. I used an Ubuntu 18.04 VM and install Julia 15.2 under /usr/local/julia  
When I install IJulia using the Julia REPL package manager I can do  
using Ijulia  
notebook()

BUT I now run sudo snap install jupyter  
I now get  
julia\> notebook()  
[ Info: running `/usr/bin/snap notebook`  
Process(setenv(`/usr/bin/snap notebook`; dir=“/home/vagrant”), ProcessExited(1))

My advice: you have the jupyter snap installed.  
run sudo snap remove jupyter

I did this remove of the jupyter snap and now notebook() works fine

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [October 28, 2020, 5:00pm UTC](https://discourse.julialang.org/t/need-help-with-ijulia-on-ubuntu-18-04-5-lts/49118/7 "2020-10-28T17:00:20Z")

</div>

By the way, Pluto notebooks are lovely!

---

<div class="post-metadata">

**Author:** ![ardsatcg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ardsatcg/32/19001_2.png) [@ardsatcg](https://discourse.julialang.org/u/ardsatcg)\
**Post date:** [October 29, 2020, 7:41am UTC](https://discourse.julialang.org/t/need-help-with-ijulia-on-ubuntu-18-04-5-lts/49118/8 "2020-10-29T07:41:45Z")

</div>

Yes of course Pluto are lovely, but doesn’t lovely for open .jl file.
