Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building "IJulia" on Windows #784

Closed
RuochengDong opened this issue Nov 28, 2018 · 2 comments
Closed

Error building "IJulia" on Windows #784

RuochengDong opened this issue Nov 28, 2018 · 2 comments

Comments

@RuochengDong
Copy link

RuochengDong commented Nov 28, 2018

Here are the errors:

(v1.0) pkg> build IJulia
  Building Conda ──→ `C:\Users\Ruocheng\.julia\packages\Conda\uQitS\deps\build.log`
  Building ZMQ ────→ `C:\Users\Ruocheng\.julia\packages\ZMQ\ABGOx\deps\build.log`
  Building MbedTLS → `C:\Users\Ruocheng\.julia\packages\MbedTLS\r1Ufc\deps\build.log`
  Building IJulia ─→ `C:\Users\Ruocheng\.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\Ruocheng\AppData\Roaming\jupyter\kernels\julia-1.0
│ [WinError 5] Access is denied: 'C:\\Users\\Ruocheng\\AppData\\Roaming\\jupyter\\kernels\\julia-1.0\\logo-32x32.png'
│ [InstallKernelSpec] Removing existing kernelspec in C:\Users\Ruocheng\AppData\Roaming\jupyter\kernels\julia-1.0
│ [WinError 5] Access is denied: 'C:\\Users\\Ruocheng\\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\Ruocheng\.julia\conda\3\Scripts\jupyter
│ [ Info: Installing Julia kernelspec julia-1.0
│ ERROR: LoadError: failed process: Process(`'C:\Users\Ruocheng\.julia\conda\3\python.exe' 'C:\Users\Ruocheng\.julia\conda\3\Scripts\jupyter-kernelspec-script.py' install --replace --user 'C:\Users\Ruocheng\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\Ruocheng\.julia\packages\IJulia\DL02A\deps\kspec.jl:85
│  [6] installkernel(::String) at C:\Users\Ruocheng\.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\Ruocheng\.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\Ruocheng\.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

I tried

using Conda
Conda.add("jupyter“)

but still got errors.

I tried uninstalled Julia and re-installed it again. Not working.

@strickek
Copy link

strickek commented Dec 2, 2018

Try solution #779

@RuochengDong
Copy link
Author

@strickek Thank you so much! It worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants