执行Pkg.build(“IJulia”)时找不到jupyter-kernelspec'

时间:2018-06-02 09:41:56

标签: anaconda jupyter-notebook julia ijulia-notebook

请尝试重建IJulia,因为我无法通过Anaconda导航器启动它(我收到红色kernel error)。使用命令Pkg.build("IJulia"),下面是输出:

INFO: Building Conda

INFO: Building MbedTLS

===============================[ ERROR: MbedTLS]============================

LoadError: unlink: operation not permitted (EPERM)   while loading C:\Users\s1364322\.julia\v0.6\MbedTLS\deps\build.jl, in expression starting on line 40

==============================================================================   INFO: Building ZMQ

INFO: Building IJulia

INFO: Installing Jupyter via the Conda package.

INFO: Found Jupyter version 4.3.0:

C:\Users\s1364322\.julia\v0.6\Conda\deps\usr\Scripts\jupyter   INFO: Installing Julia kernelspec julia-0.6

Error executing Jupyter command 'kernelspec': [Errno 'jupyter-kernelspec' not found] 2

[InstallKernelSpec] Removing existing kernelspec in   C:\Users\s1364322\AppData\Roaming\jupyter\kernels\julia-0.6

[InstallKernelSpec] Installed kernelspec julia-0.6 in   C:\Users\s1364322\AppData\Roaming\jupyter\kernels\julia-0.6

================================[ BUILD ERRORS]=============================

WARNING: MbedTLS had build errors.

- packages with build errors remain installed in C:\Users\s1364322\.julia\v0.6    - build the package(s) and all dependencies with Pkg.build("MbedTLS")

- build a single package by running its deps/build.jl script

===============================================================================

当我尝试Pkg.build("MbedTLS")时,输出为:

LoadError: unlink: operation not permitted (EPERM) while loading C:\Users\s1364322\.julia\v0.6\MbedTLS\deps\build.jl, in expression starting on line 40

拜托,我怎么能绕道而行呢?

这是我的版本信息:

Julia Version 0.6.0 提交903644385b *(2017-06-19 13:05 UTC) 平台信息:   操作系统:Windows(x86_64-w64-mingw32)   CPU:Intel(R)Core(TM)i5-6300U CPU @ 2.40GHz   WORD_SIZE:64   BLAS:libopenblas(USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)   LAPACK:libopenblas64_   LIBM:libopenlibm   LLVM:libLLVM-3.9.1(ORCJIT,skylake)

感谢您的帮助!

0 个答案:

没有答案