I recently had problems with running some Python code (Spyder didn’t find the kernel, etc. – maybe because I had several Python versions installed). So in the end, I deleted every Python version on my computer, and re-installed the latest Python version from Anaconda.
Next, I checked how this influenced Julia (Julia v. 1.1, Windows 10). So now, I can import IJulia (julia> using IJulia
seems to work). What has changed is that when I try to start up jupyterlab()
, I am asked to install Jupyter via Conda
– I guess that removing Python installations has removed Jupyter for IJulia…
julia> using IJulia
julia> jupyterlab()
install Jupyter via Conda, y/n? [y]: y
[ Info: Downloading miniconda installer ...
ERROR: failed process: Process(`'C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe' -Version 3 -NoProfile -Command "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; (New-Object System.Net.Webclient).DownloadFile('https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Windows-x86_64.exe', 'C:\Users\user_name\.julia\conda\3\installer.exe')"`, ProcessExited(1)) [1]
Stacktrace:
[1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at .\error.jl:42
[2] pipeline_error at .\process.jl:785 [inlined]
[3] download(::String, ::String) at .\download.jl:20
[4] _install_conda(::String, ::Bool) at C:\Users\user_name\.julia\packages\Conda\kLXeC\src\Conda.jl:160
[5] _install_conda(::String) at C:\Users\user_name\.julia\packages\Conda\kLXeC\src\Conda.jl:152
[6] runconda(::Cmd, ::String) at C:\Users\user_name\.julia\packages\Conda\kLXeC\src\Conda.jl:111
[7] #add#1(::String, ::Function, ::String, ::String) at C:\Users\user_name\.julia\packages\Conda\kLXeC\src\Conda.jl:184
[8] add at C:\Users\user_name\.julia\packages\Conda\kLXeC\src\Conda.jl:183 [inlined] (repeats 2 times)
[9] find_jupyter_subcommand(::String) at C:\Users\user_name\.julia\packages\IJulia\fRegO\src\jupyter.jl:23
[10] #jupyterlab#9(::String, ::Bool, ::Function) at C:\Users\user_name\.julia\packages\IJulia\fRegO\src\jupyter.jl:100
[11] jupyterlab() at C:\Users\user_name\.julia\packages\IJulia\fRegO\src\jupyter.jl:99
[12] top-level scope at none:0
Anyone has an idea of what goes wrong?