Build IJulia with Julia 1.0.3

As in the previous version I have problems with IJulia

             _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.0.3 (2018-12-18)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |


(v1.0) pkg> build IJulia
  Building MbedTLS → `C:\Users\hermesr\.julia\packages\MbedTLS\r1Ufc\deps\build.
log`
  Building Conda ──→ `C:\Users\hermesr\.julia\packages\Conda\uQitS\deps\build.lo
g`
  Building ZMQ ────→ `C:\Users\hermesr\.julia\packages\ZMQ\ABGOx\deps\build.log`

  Building IJulia ─→ `C:\Users\hermesr\.julia\packages\IJulia\DL02A\deps\build.l
og`
┌ Error: Error building `IJulia`:
│ Solving environment: ...working... done
│
│ ## Package Plan ##
│
│   environment location: C:\Users\hermesr\.julia\conda\3
│
│   added / updated specs:
│     - jupyter
│
│
│ The following packages will be downloaded:
│
│     package                    |            build
│     ---------------------------|-----------------
│     certifi-2018.11.29         |           py36_0         146 KB
│     cryptography-2.4.2         |   py36h7a1dbc1_0         497 KB
│     conda-4.5.12               |           py36_0         1.1 MB
│     qt-5.9.7                   |   vc14h73c81de_0        77.9 MB
│     ------------------------------------------------------------
│                                            Total:        79.6 MB
│
│ The following packages will be UPDATED:
│
│     certifi:      2018.10.15-py36_0    --> 2018.11.29-py36_0
│     conda:        4.5.11-py36_0        --> 4.5.12-py36_0
│     cryptography: 2.3.1-py36h74b6da3_0 --> 2.4.2-py36h7a1dbc1_0
│     openssl:      1.0.2p-hfa6e2cd_0    --> 1.1.1a-he774522_0
│     qt:           5.9.6-vc14h1e9a669_3 --> 5.9.7-vc14h73c81de_0
│
│
│ Downloading and Extracting Packages
certifi-2018.11.29   | 146 KB    | ########## | 100%
cryptography-2.4.2   | 497 KB    | ########## | 100%
conda-4.5.12         | 1.1 MB    | ########## | 100%
qt-5.9.7             | 77.9 MB   | ########## | 100%
│ Preparing transaction: ...working... done
│ Verifying transaction: ...working... done
│ Executing transaction: ...working... done
│ Error executing Jupyter command 'kernelspec': [Errno 'jupyter-kernelspec' not
found] 2
│ [InstallKernelSpec] Removing existing kernelspec in C:\Users\hermesr\AppData\R
oaming\jupyter\kernels\julia-1.0
│ [WinError 5] Access is denied: 'C:\\Users\\hermesr\\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\hermesr\.julia\conda\3\Scripts\j
upyter
│ [ Info: Installing Julia kernelspec julia-1.0
│ ERROR: LoadError: failed process: Process(`'C:\Users\hermesr\.julia\conda\3\py
thon.exe' 'C:\Users\hermesr\.julia\conda\3\Scripts\jupyter-kernelspec-script.py'
 install --replace --user 'C:\Users\hermesr\AppData\Local\Temp\julia-1.0'`, Proc
essExited(1)) [1]
│ Stacktrace:
│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at .\error.j
l:42
│  [2] pipeline_error at .\process.jl:705 [inlined]
│  [3] #run#503(::Bool, ::Function, ::Cmd) at .\process.jl:663
│  [4] run at .\process.jl:661 [inlined]
│  [5] #installkernel#4(::String, ::Function, ::String) at C:\Users\hermesr\.jul
ia\packages\IJulia\DL02A\deps\kspec.jl:109
│  [6] installkernel(::String) at C:\Users\hermesr\.julia\packages\IJulia\DL02A\
deps\kspec.jl:36
│  [7] top-level scope at C:\Users\hermesr\.julia\packages\IJulia\DL02A\deps\bui
ld.jl:92
│  [8] include at .\boot.jl:317 [inlined]
│  [9] include_relative(::Module, ::String) at .\loading.jl:1044
│  [10] include(::Module, ::String) at .\sysimg.jl:29
│  [11] include(::String) at .\client.jl:392
│  [12] top-level scope at none:0
│ in expression starting at C:\Users\hermesr\.julia\packages\IJulia\DL02A\deps\b
uild.jl:9
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win32\bu
ild\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1097

(v1.0) pkg> ^C

julia> using IJulia
[ Info: Recompiling stale cache file C:\Users\hermesr\.julia\compiled\v1.0\IJuli
a\nfu7T.ji for IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]
ERROR: LoadError: IJulia not properly installed. Please run Pkg.build("IJulia")
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] top-level scope at none:0
 [3] include at .\boot.jl:317 [inlined]
 [4] include_relative(::Module, ::String) at .\loading.jl:1044
 [5] include(::Module, ::String) at .\sysimg.jl:29
 [6] top-level scope at none:2
 [7] eval at .\boot.jl:319 [inlined]
 [8] eval(::Expr) at .\client.jl:393
 [9] top-level scope at .\none:3
in expression starting at C:\Users\hermesr\.julia\packages\IJulia\DL02A\src\IJul
ia.jl:45
ERROR: Failed to precompile IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a] to C:\
Users\hermesr\.julia\compiled\v1.0\IJulia\nfu7T.ji.
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1203
 [3] _require(::Base.PkgId) at .\loading.jl:960
 [4] require(::Base.PkgId) at .\loading.jl:858
 [5] require(::Module, ::Symbol) at .\loading.jl:853

Problem solved, like the previous time!
when deleting the file:

Removing the Julia-1.0 folder under this structure and then rebuilding IJulia also worked.

stevengj:

'C:\Users\hermesr\AppData\Roaming\jupyter\ \kernels\julia-1.0\