The command did not work until I re-inputed
ENV[“JUPYTER”]=“C:\ProgramData\Anaconda3\Scripts\jupyter”
It seems that julia forgot I alreayd have set up ENV[“JUPYTER”] after i turned it off
Environment variables do not persist across sessions. However, once you build IJulia, it should subsequently “remember” your JUPYTER setting. If you do
using IJulia
IJulia.JUPYTER
it should be the jupyter path that you specified if things worked correctly.
However, I suspect that you need to add the .exe suffix as I suggested (before running build), because the build script checks that isexecutable(ENV[“JUPYTER”]) returns true to ensure that the path is valid. (If this check failed, it would have printed out a warning during build IJulia … hopefully you aren’t ignoring warning messages?)
Hi I tried to add the .exe after. still same response.
The isuse persists even after I uninstalled Anaconda and Julia and reinstalled them.
Any ideas or should I move to an Anaconda thread?
Thanks,
Ale
julia> ENV["JUPYTER"]="C:\\ProgramData\\Anaconda3\\Scripts\\jupyter.exe"
"C:\\ProgramData\\Anaconda3\\Scripts\\jupyter.exe"
(v1.2) pkg> build IJulia
Building Conda ─→ `C:\Users\awolf-yadlin\.juliapro\JuliaPro_v1.2.0-1\packages\Conda\kLXeC\deps\build.log`
Building ZMQ ───→ `C:\Users\awolf-yadlin\.juliapro\JuliaPro_v1.2.0-1\packages\ZMQ\ABGOx\deps\build.log`
Building IJulia → `C:\Users\awolf-yadlin\.juliapro\JuliaPro_v1.2.0-1\packages\IJulia\cwvsj\deps\build.log`
julia> run(`$(ENV["JUPYTER"]) --version`)
jupyter core : 4.5.0
jupyter-notebook : 6.0.0
qtconsole : 4.5.1
ipython : 7.6.1
ipykernel : 5.1.1
jupyter client : 5.3.1
jupyter lab : 1.0.2
nbconvert : 5.5.0
ipywidgets : 7.5.0
nbformat : 4.4.0
traitlets : 4.3.2
Process(`'C:\ProgramData\Anaconda3\Scripts\jupyter.exe' --version`, ProcessExited(0))
julia> notebook()
install Jupyter via Conda, y/n? [y]: n
ERROR: C:\Users\ALE-~1\AppData\Local\Temp\Scripts\jupyter.exe is not installed, cannot run notebook
I don’t know why this doesn’t work, but if you just let Julia install its own Conda, then does your previous installation still find the Julia kernel? Last time I tried this I believe it did.
So something weird happened
I did a global upadate of my Julia and packages. I think My IJulia upgraded to version 1.2.0 and that made the difference from 1.1.9, not sure why.
Thanks for walking through this with me, and sorry to have wasted your time - I am still curious what the difference might have been be and if it was an IJulia issue or related to other packages.