Julia 安裝失敗
我在 Pkg>add IJullia 後
從 Building MbedTLS 開始 都會 error
這意思是 因為檔案位置無法寫入造成的嗎?
有用系統管理員 執行 julia 也是一樣
Building Conda ──→ `C:\Users\陳銘仕\.julia\packages\Conda\3rPhK\deps\build.log`
Building MbedTLS → `C:\Users\陳銘仕\.julia\packages\MbedTLS\a1JFn\deps\build.log`
┌ Error: Error building `MbedTLS`:
│ Cannot open cache file "C:\Users\?��?仕\.julia\compiled\v1.3\BinaryProvider\ek6VZ_xSe6X.ji.a15" for writing.
│ ERROR: LoadError: Failed to precompile BinaryProvider [b99e7846-7c00-51b0-8f62-c81ae34c0232] to C:\Users\陳銘仕\.julia\compiled\v1.3\BinaryProvider\ek6VZ_xSe6X.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1283
│ [3] _require(::Base.PkgId) at .\loading.jl:1024
│ [4] require(::Base.PkgId) at .\loading.jl:922
│ [5] require(::Module, ::Symbol) at .\loading.jl:917
│ [6] include at .\boot.jl:328 [inlined]
│ [7] include_relative(::Module, ::String) at .\loading.jl:1105
│ [8] include(::Module, ::String) at .\Base.jl:31
│ [9] include(::String) at .\client.jl:424
│ [10] top-level scope at none:5
│ in expression starting at C:\Users\陳銘仕\.julia\packages\MbedTLS\a1JFn\deps\build.jl:1
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\backwards_compatible_isolation.jl:649
Building IJulia ─→ `C:\Users\陳銘仕\.julia\dev\IJulia\deps\build.log`
┌ Error: Error building `IJulia`:
│ Cannot open cache file "C:\Users\?��?仕\.julia\compiled\v1.3\Parsers\833b9_py4HQ.ji.a04����`�� " for writing.
│ ERROR: LoadError: LoadError: Failed to precompile Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] to C:\Users\陳銘仕\.julia\compiled\v1.3\Parsers\833b9_py4HQ.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1283
│ [3] _require(::Base.PkgId) at .\loading.jl:1024
│ [4] require(::Base.PkgId) at .\loading.jl:922
│ [5] require(::Module, ::Symbol) at .\loading.jl:917
│ [6] include at .\boot.jl:328 [inlined]
│ [7] include_relative(::Module, ::String) at .\loading.jl:1105
│ [8] include at .\Base.jl:31 [inlined]
│ [9] include(::String) at C:\Users\陳銘仕\.julia\packages\JSON\d89fA\src\JSON.jl:3
│ [10] top-level scope at C:\Users\陳銘仕\.julia\packages\JSON\d89fA\src\JSON.jl:11
│ [11] include at .\boot.jl:328 [inlined]
│ [12] include_relative(::Module, ::String) at .\loading.jl:1105
│ [13] include(::Module, ::String) at .\Base.jl:31
│ [14] top-level scope at none:2
│ [15] eval at .\boot.jl:330 [inlined]
│ [16] eval(::Expr) at .\client.jl:425
│ [17] top-level scope at .\none:3
│ in expression starting at C:\Users\陳銘仕\.julia\packages\JSON\d89fA\src\Parser.jl:5
│ in expression starting at C:\Users\陳銘仕\.julia\packages\JSON\d89fA\src\JSON.jl:11
│ ERROR: LoadError: Failed to precompile JSON [682c06a0-de6a-54ab-a142-c8b1cf79cde6] to C:\Users\陳銘仕\.julia\compiled\v1.3\JSON\uf6oy_py4HQ.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1283
│ [3] _require(::Base.PkgId) at .\loading.jl:1024
│ [4] require(::Base.PkgId) at .\loading.jl:922
│ [5] require(::Module, ::Symbol) at .\loading.jl:917
│ [6] include at .\boot.jl:328 [inlined]
│ [7] include_relative(::Module, ::String) at .\loading.jl:1105
│ [8] include(::Module, ::String) at .\Base.jl:31
│ [9] top-level scope at none:2
│ [10] eval at .\boot.jl:330 [inlined]
│ [11] eval(::Expr) at .\client.jl:425
│ [12] top-level scope at .\none:3
│ in expression starting at C:\Users\陳銘仕\.julia\packages\Conda\3rPhK\src\Conda.jl:17
│ ERROR: LoadError: Failed to precompile Conda [8f4d0f93-b110-5947-807f-2305c1781a2d] to C:\Users\陳銘仕\.julia\compiled\v1.3\Conda\WZE3U_py4HQ.ji.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1283
│ [3] _require(::Base.PkgId) at .\loading.jl:1024
│ [4] require(::Base.PkgId) at .\loading.jl:922
│ [5] require(::Module, ::Symbol) at .\loading.jl:917
│ [6] include at .\boot.jl:328 [inlined]
│ [7] include_relative(::Module, ::String) at .\loading.jl:1105
│ [8] include(::Module, ::String) at .\Base.jl:31
│ [9] include(::String) at .\client.jl:424
│ [10] top-level scope at none:5
│ in expression starting at C:\Users\陳銘仕\.julia\dev\IJulia\deps\build.jl:1
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\backwards_compatible_isolation.jl:649
回答列表
-
2020/03/26 下午 10:45James Huang贊同數:3不贊同數:0留言數:1
以錯誤訊息看起來是中文使用者名稱造成路徑亂碼的問題造成 (如下圖紅框),能否切換為英文使用者登入?