# Updating Julia, IJulia

**URL:** <https://discourse.julialang.org/t/updating-julia-ijulia/106289>\
**Category:** New to Julia\
**Created:** [November 16, 2023, 2:59am UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289 "2023-11-16T02:59:22Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![KGregory](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kgregory/32/203950_2.png) [@KGregory](https://discourse.julialang.org/u/KGregory)\
**Post date:** [November 19, 2023, 1:00am UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/21 "2023-11-19T01:00:31Z")

</div>

Yes, CTRL+C gets back to the Julia prompt on Windows!

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [November 19, 2023, 1:18am UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/22 "2023-11-19T01:18:13Z")

</div>

> [@KGregory](#):
>
> C:\Users\Ken\Documents\MimiFUND.jl-3.13.0

Where did `C:\Users\Ken\Documents\MimiFUND.jl-3.13.0` come from? It looks like you downloaded a zip file of the package, and then unzipped it.

---

<div class="post-metadata">

**Author:** ![KGregory](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kgregory/32/203950_2.png) [@KGregory](https://discourse.julialang.org/u/KGregory)\
**Post date:** [November 19, 2023, 7:30pm UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/23 "2023-11-19T19:30:29Z")

</div>

Yes, I downloaded MimiFUND.jl-3.13.0.zip  
From [GitHub - fund-model/MimiFUND.jl: FUND - Climate Framework for Uncertainty, Negotiation and Distribution](https://github.com/fund-model/MimiFUND.jl)  
I clicked on the “Latest” button at Releases, v.3.13.0  
and under “Assets”, clicked on “Source code (zip)”  
Then, in Julia, at the Pkg\> prompt, I entered `add MimiFUND`

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [November 19, 2023, 9:14pm UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/24 "2023-11-19T21:14:36Z")

</div>

I’m not sure why you downloaded the zip file. `] add MimiFund` should have been sufficient for the package.

I suppose it might be easier to access the notebook this way. I’m still confused about why we are also activating the downloaded environment.

@davidanthoff are you still involved with this package?

---

<div class="post-metadata">

**Author:** ![KGregory](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kgregory/32/203950_2.png) [@KGregory](https://discourse.julialang.org/u/KGregory)\
**Post date:** [November 19, 2023, 11:14pm UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/25 "2023-11-19T23:14:22Z")

</div>

The old MimiFUND was located in a different folder, like. `C:\Users\Ken\Documents\MimiFUND.jl-3.12.1`  
This is now in my recycle bin. I assumed that Julia would not know where to add the new version of MiniFUND. I am not sure exactly what Pkg\> add MimiFUND does. Does this download the latest MimiFUND version and put it in the `C:\Users\Ken\Documents\` folder?  
Using Notebook, I just open a .jypnb file in the new MimiFUND.ji-3.13.0 folder

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [November 20, 2023, 1:08am UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/26 "2023-11-20T01:08:46Z")

</div>

@mkitti I am. I only skimmed this exchange here, my advice to @KGregory would probably be to read or watch some info on how the Julia package manager works. MimiFUND.jl really just follows very standard Julia patterns.

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [November 20, 2023, 6:58am UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/27 "2023-11-20T06:58:59Z")

</div>

What’s thr recommended way of using the Jupyter notebooks?

---

<div class="post-metadata">

**Author:** ![KGregory](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kgregory/32/203950_2.png) [@KGregory](https://discourse.julialang.org/u/KGregory)\
**Post date:** [November 20, 2023, 9:28pm UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/28 "2023-11-20T21:28:02Z")

</div>

My original question was why doesn’t the instruction work at the IJulia quick start of

> Install IJulia from the Julia REPL by pressing `]` , then enter: add IJulia.

It seems that these instructions are missing the step` julia>using Pkg` and /or  
`Julia> import Pkg`

The import definition is

> `import Foo` will load the module or package `Foo`. Names from the imported `Foo` module can be accessed with dot syntax (e.g. `Foo.foo` to access the name `foo`).

The using definition is

> `using Foo` will load the module or package `Foo` and make its [`export`]ed names available for direct use. Names can also be used via dot syntax (e.g. `Foo.foo` to access the name `foo`), whether they are `export`ed or not.

This suggests that I should have entered julia\>import Pkg or julia\>using Pkg before  
REPL\>add IJulia. Is this correct? Should the IJulia quick start instruction include this step before stating `enter: add IJulia` ?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [November 20, 2023, 9:52pm UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/29 "2023-11-20T21:52:03Z")

</div>

If you just push `]` in the Julia REPL, it will enter you into the Pkg REPL where the command `add IJulia` would be valid.

That is the key sequence `] add Julia` is equivalent to `using Pkg; Pkg.add("IJulia")`. When explaining things, I prefer to offer the latter syntax because it’s both what you type and exactly what you see in the REPL. The former key sequence produces a display `(@v1.9) pkg> add IJulia` that looks different than what you type, which can be confusing for beginners.

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [November 20, 2023, 9:56pm UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/30 "2023-11-20T21:56:34Z")

</div>

> [@mkitti](#):
>
> What’s thr recommended way of using the Jupyter notebooks?

The notebooks actually are all Python, they contain code that was used to calibrate the model. When they were created (more than 10 years ago), the model was still written in C#, the model itself was later ported to Julia.

There isn’t a recommended way to run them. The last time I ran any Python code is a long time ago, so I’m also not really up-to-speed about the best way to set up a Python Jupyter environment, but I’m pretty sure there must be a ton of documentation out there on how to do that, doesn’t strike me as an unusual thing. This entire IJulia question in this thread here is probably a bit of a red herring, as these notebooks don’t even contain any Julia code 🙂

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [November 20, 2023, 10:02pm UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/31 "2023-11-20T22:02:20Z")

</div>

Oof, ok. There really is not a reason to download the zip file at all then!

Additionally, I would really recommend that the OP consider [https://plutojl.org/](https://plutojl.org/) over Jupyter/IJulia . The package management situation is much more straightforward there among other things.

---

<div class="post-metadata">

**Author:** ![danielwe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/danielwe/32/35657_2.png) [@danielwe](https://discourse.julialang.org/u/danielwe)\
**Post date:** [November 20, 2023, 11:01pm UTC](https://discourse.julialang.org/t/updating-julia-ijulia/106289/32 "2023-11-20T23:01:09Z")

</div>

Looks like there previously was an IJulia notebook in the examples folder that was removed from the repo last year. Maybe that’s the one @KGregory has explored before and was trying to revive using updated Julia and package versions?

> <https://github.com/fund-model/MimiFUND.jl/commit/7df40fc433ab6dee670b179c7e8591e70473329d#diff-c22c82247c49a711f88860c0cc7bb7cf4ffa8933b73bec4b503c162521b988f3>

The readme still says “To run the example IJulia notebook file you need to install [IJulia](https://github.com/JuliaLang/IJulia.jl)”, so that might be another source of confusion. Though to be fair, the readme also warns about the package being deliberately difficult to use.

[Previous page](https://discourse.julialang.org/t/updating-julia-ijulia/106289.md?page=1)
