# Jupyter-Notebook

**URL:** https://discourse.julialang.org/c/tools/jupyter-notebook/57.md?page=2

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 3

---

## [Readline function problem](https://discourse.julialang.org/t/readline-function-problem/71104)

<div class="topic-metadata">

**Author:** [@Salvatore\_Candita](https://discourse.julialang.org/u/Salvatore_Candita)\
**Replies:** 5\
**Last updated:** [December 23, 2021, 9:11pm UTC](https://discourse.julialang.org/t/readline-function-problem/71104 "2021-12-23T21:11:58Z")

</div>

hi everyone, i have a problem with the function readline in jypyter notebook using vscode: whenever i use this function, it gives me stacktrace error. I can’t understand why because if i use it in the terminal with juli…

---

## [VScode Jupyter Extension vs. IJulia browser](https://discourse.julialang.org/t/vscode-jupyter-extension-vs-ijulia-browser/73053)

<div class="topic-metadata">

**Author:** [@donkeysaddle](https://discourse.julialang.org/u/donkeysaddle)\
**Replies:** 4\
**Last updated:** [December 15, 2021, 10:33am UTC](https://discourse.julialang.org/t/vscode-jupyter-extension-vs-ijulia-browser/73053 "2021-12-15T10:33:07Z")

</div>

How does the Jupyter-Notebook extension compare to installing Jupyter with Conda and using IJulia? My preference is to do everything in VSCode, but am wondering if there are any drawbacks (e.g., speed). Thanks! DS

---

## [Jupyter lab do not work "LoadError: TypeError: in typeassert, expected Vector{Any}, got a value of type Dict{String, Any}"](https://discourse.julialang.org/t/jupyter-lab-do-not-work-loaderror-typeerror-in-typeassert-expected-vector-any-got-a-value-of-type-dict-string-any/72863)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 0\
**Last updated:** [December 9, 2021, 10:04pm UTC](https://discourse.julialang.org/t/jupyter-lab-do-not-work-loaderror-typeerror-in-typeassert-expected-vector-any-got-a-value-of-type-dict-string-any/72863 "2021-12-09T22:04:24Z")

</div>

I am trying to start a jupyter lab notebook, but suddenly it will not work. I start up jupyter lab from the terminal (using jupyter lab, this is on ubuntu 18.04). I notebooks load normally, but when I try to run a cell, …

---

## [Jupyter lab StackOverflowError when computing inverse matrix](https://discourse.julialang.org/t/jupyter-lab-stackoverflowerror-when-computing-inverse-matrix/72691)

<div class="topic-metadata">

**Author:** [@mrazomej](https://discourse.julialang.org/u/mrazomej)\
**Replies:** 3\
**Last updated:** [December 7, 2021, 5:00am UTC](https://discourse.julialang.org/t/jupyter-lab-stackoverflowerror-when-computing-inverse-matrix/72691 "2021-12-07T05:00:02Z")

</div>

I recently updated Julia to version 1.7. When trying to do a straightforward computation in the Jupyterlab environment such as: using Random Random.seed!(42) A = rand(1000, 1000) inv(A) I get the following error (li…

---

## [Ubuntu Julia 1.6.4, juypter notebook not connecting?](https://discourse.julialang.org/t/ubuntu-julia-1-6-4-juypter-notebook-not-connecting/71933)

<div class="topic-metadata">

**Author:** [@jamaas](https://discourse.julialang.org/u/jamaas)\
**Replies:** 3\
**Last updated:** [November 23, 2021, 11:23am UTC](https://discourse.julialang.org/t/ubuntu-julia-1-6-4-juypter-notebook-not-connecting/71933 "2021-11-23T11:23:00Z")

</div>

I’ve just updated to the latest version of julia, 1.6.4 or ubuntu 20.04, however this has been an ongoing problem with previous julia versions. I can not get the julia kernel to show up in jupyter notebooks. Jupyter is…

---

## [Latex macros in Weave.jl generated Jupyter notebooks](https://discourse.julialang.org/t/latex-macros-in-weave-jl-generated-jupyter-notebooks/71272)

<div class="topic-metadata">

**Author:** [@dlfivefifty](https://discourse.julialang.org/u/dlfivefifty)\
**Replies:** 0\
**Last updated:** [November 10, 2021, 5:53pm UTC](https://discourse.julialang.org/t/latex-macros-in-weave-jl-generated-jupyter-notebooks/71272 "2021-11-10T17:53:01Z")

</div>

How do I add latex macros when I use Weave.notebook ? I tried putting them in between dollar signs but that would only work inside the same dollar signs, the next latex expression wouldn’t know about the macros. For We…

---

## [IJulia notebook() in Docker container](https://discourse.julialang.org/t/ijulia-notebook-in-docker-container/70462)

<div class="topic-metadata">

**Author:** [@angelv](https://discourse.julialang.org/u/angelv)\
**Replies:** 2\
**Last updated:** [October 27, 2021, 2:30pm UTC](https://discourse.julialang.org/t/ijulia-notebook-in-docker-container/70462 "2021-10-27T14:30:06Z")

</div>

Hello, for testing purposes I am using a Docker container to run some Julia notebooks. With the project at hand I have no problems to start the Jupyter notebook by using using IJulia notebook() This is not a problem e…

---

## [Running myBinder with julia version 1.6](https://discourse.julialang.org/t/running-mybinder-with-julia-version-1-6/64920)

<div class="topic-metadata">

**Author:** [@bennibolm](https://discourse.julialang.org/u/bennibolm)\
**Replies:** 7\
**Last updated:** [July 21, 2021, 11:35am UTC](https://discourse.julialang.org/t/running-mybinder-with-julia-version-1-6/64920 "2021-07-21T11:35:58Z")

</div>

Hi, I hope this is the right place to ask. Every time I want to start my .ipynb file with mybinder there is no kernel for julia version 1.6.2 or 1.6.1. I can’t find any instructions on the binder website regarding the s…

---

## [How to run (activate?) a Jupyter Notebook in a specific environment](https://discourse.julialang.org/t/how-to-run-activate-a-jupyter-notebook-in-a-specific-environment/63841)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 12\
**Last updated:** [June 30, 2021, 5:38pm UTC](https://discourse.julialang.org/t/how-to-run-activate-a-jupyter-notebook-in-a-specific-environment/63841 "2021-06-30T17:38:35Z")

</div>

I am trying to run a Jupyter notebook (and a project in general) in a specific environment with only a limited number of packages. I have created a folder. In my terminal, I navigated to this folder, started julia, and …

---

## [What am I doing wrong, I can't use Julia with jupyterlab?](https://discourse.julialang.org/t/what-am-i-doing-wrong-i-cant-use-julia-with-jupyterlab/63727)

<div class="topic-metadata">

**Author:** [@development\_mentor](https://discourse.julialang.org/u/development_mentor)\
**Replies:** 3\
**Last updated:** [June 29, 2021, 9:12am UTC](https://discourse.julialang.org/t/what-am-i-doing-wrong-i-cant-use-julia-with-jupyterlab/63727 "2021-06-29T09:12:20Z")

</div>

Hello, yesterday I was able to use julia with jupyterlab simply. I just followed the instructions. But when I turned on my PC, next morning it didn’t work. I tried reinstalling julia, and IJulia. But it didn’t work. Plea…

---

## [Notebooks activates project automatically (when started with binder)](https://discourse.julialang.org/t/notebooks-activates-project-automatically-when-started-with-binder/62944)

<div class="topic-metadata">

**Author:** [@bennibolm](https://discourse.julialang.org/u/bennibolm)\
**Replies:** 2\
**Last updated:** [June 16, 2021, 7:16am UTC](https://discourse.julialang.org/t/notebooks-activates-project-automatically-when-started-with-binder/62944 "2021-06-16T07:16:37Z")

</div>

Hello everyone, I have a question regarding the answer from ANN: mybinder.org support for Julia 1.x and Project.toml. I added a local Project.toml to the sub folder with the notebooks, but when I start the notebook (vi…

---

## [Pkg.status returns nothing (when running in jupyter notebook)](https://discourse.julialang.org/t/pkg-status-returns-nothing-when-running-in-jupyter-notebook/62545)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [June 7, 2021, 9:04pm UTC](https://discourse.julialang.org/t/pkg-status-returns-nothing-when-running-in-jupyter-notebook/62545 "2021-06-07T21:04:12Z")

</div>

I’m running a jupyter notebook in a folder in which I both have a Manifest.toml and a Project.toml file. When I run using Pkg Pkg.status() the output is nothing. If I start a julia session from the same folder (and run…

---

## [Jupyter cannot create Julia notebook](https://discourse.julialang.org/t/jupyter-cannot-create-julia-notebook/62452)

<div class="topic-metadata">

**Author:** [@Gilles\_Dubois](https://discourse.julialang.org/u/Gilles_Dubois)\
**Replies:** 8\
**Last updated:** [June 6, 2021, 7:14pm UTC](https://discourse.julialang.org/t/jupyter-cannot-create-julia-notebook/62452 "2021-06-06T19:14:43Z")

</div>

Hi everybody ! I’m a new Julia user with great experience in Python. Nevertheless I wrote already around 200 programs, mainly translations of previous Python counterparts. I’m under linux mint 20. i installed julia f…

---

## [Use of references in Julia notebook files (via binder) to the original documentation](https://discourse.julialang.org/t/use-of-references-in-julia-notebook-files-via-binder-to-the-original-documentation/62385)

<div class="topic-metadata">

**Author:** [@bennibolm](https://discourse.julialang.org/u/bennibolm)\
**Replies:** 0\
**Last updated:** [June 4, 2021, 11:18am UTC](https://discourse.julialang.org/t/use-of-references-in-julia-notebook-files-via-binder-to-the-original-documentation/62385 "2021-06-04T11:18:22Z")

</div>

Hello, I want to set up some tutorials for my repository. I’m using Literate.jl to get the markdown and notebook files from a Julia file. I want to start the notebook files with binder and I don’t see any other solution…

---

## [WebIO JupyterLab not compatible?](https://discourse.julialang.org/t/webio-jupyterlab-not-compatible/61938)

<div class="topic-metadata">

**Author:** [@PaulN](https://discourse.julialang.org/u/PaulN)\
**Replies:** 0\
**Last updated:** [May 27, 2021, 3:17pm UTC](https://discourse.julialang.org/t/webio-jupyterlab-not-compatible/61938 "2021-05-27T15:17:23Z")

</div>

I cannot seem to install WebIO for jupyterlab 3.0.0. Is there a fix for this? I get an incompatibility error.

---

## [Dpi parameter controlling size of plot display in Jupyter Notebook?](https://discourse.julialang.org/t/dpi-parameter-controlling-size-of-plot-display-in-jupyter-notebook/61750)

<div class="topic-metadata">

**Author:** [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Replies:** 1\
**Last updated:** [May 27, 2021, 3:04pm UTC](https://discourse.julialang.org/t/dpi-parameter-controlling-size-of-plot-display-in-jupyter-notebook/61750 "2021-05-27T15:04:00Z")

</div>

I’ve encountered some weird behavior when using Plots.jl. I’d like to know if this is a bug. Consider the following code: using Plots; gr() x = collect(0:0.1:50) y = sin.(x) plot(x,y, dpi = 50) With dpi = 50 the plot l…

---

## [How to make Jupter Notebook display installation progress updates when adding packages?](https://discourse.julialang.org/t/how-to-make-jupter-notebook-display-installation-progress-updates-when-adding-packages/61375)

<div class="topic-metadata">

**Author:** [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Replies:** 5\
**Last updated:** [May 18, 2021, 9:07pm UTC](https://discourse.julialang.org/t/how-to-make-jupter-notebook-display-installation-progress-updates-when-adding-packages/61375 "2021-05-18T21:07:56Z")

</div>

I recently installed IJulia for Julia v1.6.1, and now when I add a package, e.g. Pkg.add("DataFrames"), I don’t get any updates on the installation progress; there’s no message or output whatsoever. When I add a package…

---

## [Deleted Julia kernel from Jupyter Notebook, but now I can't get it back](https://discourse.julialang.org/t/deleted-julia-kernel-from-jupyter-notebook-but-now-i-cant-get-it-back/61329)

<div class="topic-metadata">

**Author:** [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 10:56pm UTC](https://discourse.julialang.org/t/deleted-julia-kernel-from-jupyter-notebook-but-now-i-cant-get-it-back/61329 "2021-05-17T22:56:49Z")

</div>

After downloading Julia 1.6.1, I figured I might as well remove the 1.5.3 and 1.6.0 kernels that I had installed on Jupyter Notebook, which I did using the instructions here: How to remove previous version from Jupyter? …

---

## [Filepath for the current (Julia) Jupyter notebook](https://discourse.julialang.org/t/filepath-for-the-current-julia-jupyter-notebook/60544)

<div class="topic-metadata">

**Author:** [@maajdl](https://discourse.julialang.org/u/maajdl)\
**Replies:** 1\
**Last updated:** [May 5, 2021, 5:26am UTC](https://discourse.julialang.org/t/filepath-for-the-current-julia-jupyter-notebook/60544 "2021-05-05T05:26:37Z")

</div>

Hello, I would like to get the filepath for the current (Julia) Jupyter notebook. Is there a way to get this information? Thanks Michel PS: My purpose is to write a SaveAsPluto function that would keep a Pluto note…

---

## [Base.show() for displaying MathJax formulas in Jupyter / IJulia?](https://discourse.julialang.org/t/base-show-for-displaying-mathjax-formulas-in-jupyter-ijulia/57244)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 6\
**Last updated:** [March 17, 2021, 2:36pm UTC](https://discourse.julialang.org/t/base-show-for-displaying-mathjax-formulas-in-jupyter-ijulia/57244 "2021-03-17T14:36:45Z")

</div>

I’d like to override Base.show() for a custom type I defined, to displayed an object of the type as a math formula (MathJax / LaTeX) when using Jupyter notebook. How can this be done? I already know how to override Base.…

---

## [Figures as Jupyter widgets](https://discourse.julialang.org/t/figures-as-jupyter-widgets/56872)

<div class="topic-metadata">

**Author:** [@sswatson](https://discourse.julialang.org/u/sswatson)\
**Replies:** 3\
**Last updated:** [March 11, 2021, 4:52pm UTC](https://discourse.julialang.org/t/figures-as-jupyter-widgets/56872 "2021-03-11T16:52:05Z")

</div>

I’d like to create a Jupyter notebook which I can deploy on Binder which allows users to click on a two-dimensional plot and have a curve drawn through the clicked point. For example, the curve might be an ODE solution w…

---

## [How to release memory from jupyter notebook?](https://discourse.julialang.org/t/how-to-release-memory-from-jupyter-notebook/56886)

<div class="topic-metadata">

**Author:** [@bharland](https://discourse.julialang.org/u/bharland)\
**Replies:** 6\
**Last updated:** [March 10, 2021, 5:33pm UTC](https://discourse.julialang.org/t/how-to-release-memory-from-jupyter-notebook/56886 "2021-03-10T17:33:21Z")

</div>

Here is a minimal example that reproduces my problem on a new JupyterLab kernel: x = rand(2^29); varinfo() shows the 4.00 Gb size of ‘x’. But x = nothing does not release this memory. varinfo shows that it is indee…

---

## [Calling a function from another notebook using \`my\_file.some\_function()\`](https://discourse.julialang.org/t/calling-a-function-from-another-notebook-using-my-file-some-function/55806)

<div class="topic-metadata">

**Author:** [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Replies:** 3\
**Last updated:** [February 22, 2021, 10:18pm UTC](https://discourse.julialang.org/t/calling-a-function-from-another-notebook-using-my-file-some-function/55806 "2021-02-22T22:18:38Z")

</div>

Is there a way to use the dot syntax in Jupyter Notebook to call a function that was defined in a different notebook? For example, suppose I have a notebook “test.ipynb” containing a function called square(x), and say we…

[Previous page](https://discourse.julialang.org/c/tools/jupyter-notebook/57.md?page=1)
