我先ENV["JUPYTER"]="C:\\Conda\\Anaconda3\\Scripts\\jupyter.exe"
然后add IJulia,可以安装,但是在build时无法build Conda,不知为何
以下是运行结果
julia> ENV[“JUPYTER”] = “C:\Conda\Ananconda3\Scripts\jupyter.exe”
“C:\Conda\Ananconda3\Scripts\jupyter.exe”
(v1.0) pkg> add IJulia
Cloning default registries into C:\Users\lxc.julia\registries
Cloning registry General from “GitHub - JuliaRegistries/General: The official registry of general Julia packages”
Updating registry at C:\Users\lxc\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
Resolving package versions…
Installed VersionParsing ─ v1.1.1
Installed Conda ────────── v1.0.0
Installed IJulia ───────── v1.9.2
Installed JSON ─────────── v0.19.0
Installed ZMQ ──────────── v0.6.3
Installed BinaryProvider ─ v0.4.0
Installed Compat ───────── v1.0.1
Installed MbedTLS ──────── v0.6.0
Updating C:\Users\lxc\.julia\environments\v1.0\Project.toml
[7073ff75] + IJulia v1.9.2
Updating C:\Users\lxc\.julia\environments\v1.0\Manifest.toml
[b99e7846] + BinaryProvider v0.4.0
[34da2185] + Compat v1.0.1
[8f4d0f93] + Conda v1.0.0
[7073ff75] + IJulia v1.9.2
[682c06a0] + JSON v0.19.0
[739be429] + MbedTLS v0.6.0
[81def892] + VersionParsing v1.1.1
[c2297ded] + ZMQ v0.6.3
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[7b1f6079] + FileWatching
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Building Conda ──→ C:\Users\lxc\.julia\packages\Conda\a196m\deps\build.log
┌ Error: Error building Conda
:
│ ERROR: LoadError: ArgumentError: isdefined: too few arguments (expected 2)
│ Stacktrace:
│ [1] top-level scope at none:0
│ [2] include at .\boot.jl:317 [inlined]
│ [3] include_relative(::Module, ::String) at .\loading.jl:1038
│ [4] include(::Module, ::String) at .\sysimg.jl:29
│ [5] include(::String) at .\client.jl:388
│ [6] top-level scope at none:0
│ in expression starting at C:\Users\lxc.julia\packages\Conda\a196m\deps\build.jl:7
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1068
Building MbedTLS → C:\Users\lxc\.julia\packages\MbedTLS\Qo8TN\deps\build.log
Building ZMQ ────→ C:\Users\lxc\.julia\packages\ZMQ\GA4Xh\deps\build.log
Building IJulia ─→ C:\Users\lxc\.julia\packages\IJulia\9RcVi\deps\build.log
┌ Error: Error building IJulia
:
│ ERROR: LoadError: Conda is not properly configured. Run Pkg.build(“Conda”) before importing the Conda module.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] top-level scope at C:\Users\lxc.julia\packages\Conda\a196m\src\Conda.jl:27
│ [3] include at .\boot.jl:317 [inlined]
│ [4] include_relative(::Module, ::String) at .\loading.jl:1038
│ [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:389
│ [9] top-level scope at .\none:3
│ in expression starting at C:\Users\lxc.julia\packages\Conda\a196m\src\Conda.jl:23
│ ERROR: LoadError: Failed to precompile Conda [8f4d0f93-b110-5947-807f-2305c1781a2d] to C:\Users\lxc.julia\compiled\v1.0\Conda\WZE3U.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] macro expansion at .\logging.jl:313 [inlined]
│ [3] compilecache(::Base.PkgId, ::String) at .\loading.jl:1184
│ [4] _require(::Base.PkgId) at .\logging.jl:311
│ [5] require(::Base.PkgId) at .\loading.jl:852
│ [6] macro expansion at .\logging.jl:311 [inlined]
│ [7] require(::Module, ::Symbol) at .\loading.jl:834
│ [8] include at .\boot.jl:317 [inlined]
│ [9] include_relative(::Module, ::String) at .\loading.jl:1038
│ [10] include(::Module, ::String) at .\sysimg.jl:29
│ [11] include(::String) at .\client.jl:388
│ [12] top-level scope at none:0
│ in expression starting at C:\Users\lxc.julia\packages\IJulia\9RcVi\deps\build.jl:2
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1068