jupyter / help

:sparkles: Need some help or have some questions? Please visit our Discourse page.
https://discourse.jupyter.org
291 stars 97 forks source link

Jupyter + Julia problem #468

Open ZenanH opened 5 years ago

ZenanH commented 5 years ago

Hello, when I tried to run Julia(1.0.2) with jupyter, Pkg. add ("IJulia") and Pkg. build ("IJulia") made a mistake. How can I solve it?😊

julia> using Pkg;Pkg.build("IJulia")
  Building Conda ──→ `C:\Users\huoze\.julia\packages\Conda\uQitS\deps\build.log`
  Building ZMQ ────→ `C:\Users\huoze\.julia\packages\ZMQ\ABGOx\deps\build.log`
  Building MbedTLS → `C:\Users\huoze\.julia\packages\MbedTLS\r1Ufc\deps\build.log`
  Building IJulia ─→ `C:\Users\huoze\.julia\packages\IJulia\DL02A\deps\build.log`
┌ Error: Error building `IJulia`:
│ Solving environment: ...working... done
│
│ # All requested packages already installed.
│
│ [InstallKernelSpec] Removing existing kernelspec in C:\Users\huoze\AppData\Roaming\jupyter\kernels\julia-1.0
│ [WinError 5] 拒绝访问。: 'C:\\Users\\huoze\\AppData\\Roaming\\jupyter\\kernels\\julia-1.0\\logo-32x32.png'
│ [InstallKernelSpec] Removing existing kernelspec in C:\Users\huoze\AppData\Roaming\jupyter\kernels\julia-1.0
│ [WinError 5] 拒绝访问。: 'C:\\Users\\huoze\\AppData\\Roaming\\jupyter\\kernels\\julia-1.0\\logo-32x32.png'
│ [ Info: Installing Jupyter via the Conda package.
│ [ Info: Running `conda install -y jupyter` in root environment
│ [ Info: Found Jupyter version 4.4.0: C:\Users\huoze\.julia\conda\3\Scripts\jupyter
│ [ Info: Installing Julia kernelspec julia-1.0
│ ERROR: LoadError: failed process: Process(`'C:\Users\huoze\.julia\conda\3\python.exe' 'C:\Users\huoze\.julia\conda\3\Scripts\jupyter-kernelspec-script.py' install --replace --user 'C:\Users\huoze\AppData\Local\Temp\julia-1.0'`, ProcessExited(1)) [1]
│ Stacktrace:
│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at .\error.jl:42
│  [2] pipeline_error at .\process.jl:705 [inlined]
│  [3] #run#504(::Bool, ::Function, ::Cmd) at .\process.jl:663
│  [4] run at .\process.jl:661 [inlined]
│  [5] #installkernel#4(::String, ::Function, ::String) at C:\Users\huoze\.julia\packages\IJulia\DL02A\deps\kspec.jl:85
│  [6] installkernel(::String) at C:\Users\huoze\.julia\packages\IJulia\DL02A\deps\kspec.jl:36
│  [7] top-level scope at logging.jl:308
│  [8] top-level scope at logging.jl:307
│  [9] top-level scope at C:\Users\huoze\.julia\packages\IJulia\DL02A\deps\build.jl:41
│  [10] include at .\boot.jl:317 [inlined]
│  [11] include_relative(::Module, ::String) at .\loading.jl:1044
│  [12] include(::Module, ::String) at .\sysimg.jl:29
│  [13] include(::String) at .\client.jl:392
│  [14] top-level scope at none:0
│ in expression starting at C:\Users\huoze\.julia\packages\IJulia\DL02A\deps\build.jl:9
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1097
minrk commented 5 years ago

This might be better reported at the IJulia repo