Issue
How to make Jupyter lab work with Julia?
I work in VirtualBox VM Ubuntu 22.04 and use Miniconda and I have done the following:
- I open a terminal window
- I made an environment julia and installed with conda Julia 1.9.2 and this env now active
- I install with conda jupyterlab
- I start up Julia and works fine and do:
- using Pkg
- Pkg.add("IJulia")
- Pkg.update()
- Pkg.build("IJulia")
Not sure what to do next. Instructions I read do not tell, or instruct me to start up Anaconda Navigator, which I have not accessible from the command line, what I understand.
I open another terminal in parallel and make env julia active I give the command: jupyter lab - and jupyter lab start up. I choose kernel Julia 1.9.2 I make simple commands like x=1+2; print(x)
But only get a star to the left.
If I choose kenrel Python 3 instead and run the same code it all works.
Somehow the Jupyter lab notebook "does not connect" with the Julia language.
What shall I do?
Solution
I would usually try to start Jupyter lab from Julia, rather than the other way around. I.e., do:
julia> using IJulia
julia> jupyterlab()
That should open Jupyter lab running from the miniconda that IJulia installs by default.
Answered By - Nils Gudat
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.