# Conda taking forever to install Jupyter lab

**URL:** <https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156>\
**Category:** General Usage\
**Tags:** jupyter\
**Created:** [August 10, 2021, 10:38pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156 "2021-08-10T22:38:12Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [August 10, 2021, 10:38pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/1 "2021-08-10T22:38:12Z")

</div>

to get my kids back into the idea of school, I started doing some simple physics experiments with them. We’ve got some data and I wrote a Jupyter notebook to analyze. Then I went to install Jupyter lab on their computers… I am aware that IJulia has a built-in conda etc but I wanted to get them the “lab” version and have it be an independent install.

so jupyter lab says to install it via conda, and that means install conda… so I installed conda, and that took FOREVER, and then I install jupyter lab and that took FOREVER, and it’s still going.

And when I say FOREVER I mean like several HOURS. Is it normal that installing jupyterlab from scratch through conda is a 4 hour process that aborts a couple times before it completes? This is on Linux with a gigabit fiber connection. It’s not a network speed issue on my end.

---

<div class="post-metadata">

**Author:** ![ToucheSir](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/touchesir/32/14411_2.png) [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)\
**Post date:** [August 10, 2021, 10:55pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/2 "2021-08-10T22:55:36Z")

</div>

Conda package operations can be excruciatingly slow sometimes. If you’re able to, I’d highly recommend [https://github.com/mamba-org/mamba](https://github.com/mamba-org/mamba) as a replacement.

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [August 11, 2021, 6:44am UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/3 "2021-08-11T06:44:05Z")

</div>

The title of this thread is somewhat misleading as this issue has nothing to do with Julia.

---

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [August 11, 2021, 12:09pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/4 "2021-08-11T12:09:56Z")

</div>

Actually, once I got Jupyter lab installed, I went to `]add CSV,Plots,StatsPlots,DataFrames,IJulia` and that ALSO took forever. Like maybe 2hrs… What the heck is going on?

Also, [status.julialang.org](http://status.julialang.org) takes tens of minutes to load and shows long red bars on every site.

---

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [August 11, 2021, 4:25pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/5 "2021-08-11T16:25:45Z")

</div>

> [@carstenbauer](#):
>
> issue has nothing to do with Julia.

Note that I’m not trying to complain about Julia, I’m literally hoping someone will come along and say “hey none of this happens for me, and have you tried X” and then we’ll come up with a fix. It has to do with Julia because a bunch of people use Julia within Jupyter.

I’m beginning to wonder if this is a problem with connectivity to the package and content delivery sites? Perhaps an IPv6 routing issue or some other thing. I can’t ping [us-west.pkg.julialang.org](http://us-west.pkg.julialang.org) on ipv4 or 6, I think it just doesn’t respond to pings. It’s quite confusing why any of this is taking nearly forever. I’m not sure which sites I should test for conda.

---

<div class="post-metadata">

**Author:** ![darsnack](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/darsnack/32/10144_2.png) [@darsnack](https://discourse.julialang.org/u/darsnack)\
**Post date:** [August 11, 2021, 4:50pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/6 "2021-08-11T16:50:35Z")

</div>

If the end goal is to use notebooks, then you might try the latest VS Code + Julia VS Code extension. It will use the built-in notebook capabilities for VS Code and send cell execution to the Julia extension. So, no need to install Conda, Jupyter, or IJulia.

As for the packages taking long, I’m not sure what the issue is. I haven’t had any problems recently. Maybe try the suggestion above, then let’s revisit the package issue if it persists (could have been a temporary issue)?

---

<div class="post-metadata">

**Author:** ![ToucheSir](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/touchesir/32/14411_2.png) [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)\
**Post date:** [August 11, 2021, 5:17pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/7 "2021-08-11T17:17:30Z")

</div>

After experiencing extreme flakiness with the Pkg servers a while back, I (and probably many others) added this line to `.julia/config/startup.jl`

```julia
# Disable PKG server for now because it dies trying to download artifacts
ENV["JULIA_PKG_SERVER"]=""

```

Assuming you’re not on windows, this may help eliminate some of the more pathological behaviour.

---

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [August 11, 2021, 5:49pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/8 "2021-08-11T17:49:01Z")

</div>

If you blank out the PKG server env var how do you get packages? Does it fall back to GitHub or something?

---

<div class="post-metadata">

**Author:** ![ToucheSir](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/touchesir/32/14411_2.png) [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)\
**Post date:** [August 11, 2021, 6:29pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/9 "2021-08-11T18:29:39Z")

</div>

As I understand it, yes: [JULIA\_PKG\_SERVER related documentation](https://discourse.julialang.org/t/julia-pkg-server-related-documentation/62117)

---

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [August 14, 2021, 6:52pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/10 "2021-08-14T18:52:23Z")

</div>

> [@darsnack](#):
>
> might try the latest VS Code + Julia VS Code extension

I’ve got VSCodium, what do I do to get the latest stuff? If I open an .ipynb it just asks me what language it should use and doesn’t offer anything relevant.

AHA! it appears to have been a temporary bug in the VSCodium build, the latest version does open ipynb correctly: [Jupyter notebooks not working · Issue #490 · VSCodium/vscodium · GitHub](https://github.com/VSCodium/vscodium/issues/490)

However, it doesn’t know anything about any kernels. How do I install the kernels for VSCodium? Anyone know?

---

<div class="post-metadata">

**Author:** ![darsnack](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/darsnack/32/10144_2.png) [@darsnack](https://discourse.julialang.org/u/darsnack)\
**Post date:** [August 15, 2021, 1:47pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/11 "2021-08-15T13:47:33Z")

</div>

> [@dlakelan](#):
>
> However, it doesn’t know anything about any kernels. How do I install the kernels for VSCodium? Anyone know?

You need to install the latest Julia VS Code extension. it looks like VS Codium has its own re-packaged extension marketplace.

---

<div class="post-metadata">

**Author:** ![dlakelan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dlakelan/32/8491_2.png) [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Post date:** [August 15, 2021, 2:22pm UTC](https://discourse.julialang.org/t/conda-taking-forever-to-install-jupyter-lab/66156/12 "2021-08-15T14:22:04Z")

</div>

Thanks, I posted separately on this issue and it was mentioned that there’s a flag to check in the settings as well.

[Julia + Jupyter notebooks in VSCodium?](https://discourse.julialang.org/t/julia-jupyter-notebooks-in-vscodium/66403)
