添加Plots包出现问题


#1

Updating registry at C:\Users\Administrator\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git

Updating C:\Users\Administrator\.julia\environments\v1.1\Project.toml
[91a5bcdd] + Plots v0.26.1
Updating C:\Users\Administrator\.julia\environments\v1.1\Manifest.toml
[b99e7846] ? BinaryProvider v0.5.4 ⇒ v0.5.6
[00ebfdb7] ↑ CSTParser v0.5.2 ⇒ v0.6.2
[7057c7e9] ↑ Cassette v0.2.3 ⇒ v0.2.6
[d38c429a] + Contour v0.5.1
[9a962f9c] + DataAPI v1.0.1
[864edb3b] ↑ DataStructures v0.15.0 ⇒ v0.17.0
[c87230d0] + FFMPEG v0.2.2
[28b8d3ca] + GR v0.41.0
[4d00f742] + GeometryTypes v0.7.5
[cd3eb016] ↑ HTTP v0.8.0 ⇒ v0.8.4
[c8e1da08] ↑ IterTools v1.1.1 ⇒ v1.2.0
[aa1ae85d] ↑ JuliaInterpreter v0.6.0 ⇒ v0.6.1
[1914dd2f] ↑ MacroTools v0.5.0 ⇒ v0.5.1
[442fdcdd] + Measures v0.3.0
[e1d29d7a] + Missings v0.4.1
[77ba4419] + NaNMath v0.3.2
[ccf2f8ad] + PlotThemes v0.3.0
[995b91a9] + PlotUtils v0.5.8
[91a5bcdd] + Plots v0.26.1
[3cdcf5f2] + RecipesBase v0.7.0
[992d4aef] + Showoff v0.3.1
[a2af1166] + SortingAlgorithms v0.3.1
[90137ffa] + StaticArrays v0.11.0
[2913bbd2] + StatsBase v0.32.0
[0796e94c] ↑ Tokenize v0.5.3 ⇒ v0.5.5
[0f1e0344] ↑ WebIO v0.8.1 ⇒ v0.8.9

下载报错

Building GR ────→ C:\Users\Administrator\.julia\packages\GR\ZI5OE\deps\build.log

build.log 里的内容为

使用“2”个参数调用“DownloadFile”时发生异常:“操作已超时。”
所在位置 行:1 字符: 96

  • … pe]::Tls12; (New-Object System.Net.Webclient).DownloadFile('https://g
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:slight_smile: [], MethodInvocationException
    • FullyQualifiedErrorId : WebException

删包 重装 还是再次出错如上!

最后控制台输出 绘图错误

pkg模式下 build FFMPEG包 log文件内容为空

C:\Users\Administrator.julia\compiled\v1.1\FFMPEG\路径下

缺少文件 TGvga.ji.


#2

.julia\packages\FFMPEG\9JQpZ\deps 路径下

build.log 的内容为

使用“2”个参数调用“DownloadFile”时发生异常:“无法连接到远程服务器”
所在位置 行:1 字符: 96

  • … pe]::Tls12; (New-Object System.Net.Webclient).DownloadFile('https://g
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:slight_smile: [], MethodInvocationException
    • FullyQualifiedErrorId : WebException

ERROR: LoadError: failed process: Process('C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -Version 3 -NoProfile -Command "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; (New-Object System.Net.Webclient).DownloadFile('https://github.com/JuliaPackaging/Yggdrasil/releases/download/Bzip2-v1.0.6-2/build_Bzip2.v1.0.6.jl', 'C:\Users\Administrator\.julia\packages\FFMPEG\9JQpZ\deps\build_Bzip2.v1.0.6.jl')", ProcessExited(1)) [1]
Stacktrace:
[1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at .\error.jl:42
[2] pipeline_error at .\process.jl:785 [inlined]
[3] download(::String, ::String) at .\download.jl:20
[4] top-level scope at C:\Users\Administrator.julia\packages\FFMPEG\9JQpZ\deps\build.jl:46
[5] include at .\boot.jl:326 [inlined]
[6] include_relative(::Module, ::String) at .\loading.jl:1038
[7] include(::Module, ::String) at .\sysimg.jl:29
[8] include(::String) at .\client.jl:403
[9] top-level scope at none:0
in expression starting at C:\Users\Administrator.julia\packages\FFMPEG\9JQpZ\deps\build.jl:44


#3

我试了下这个地址是存在的、可以下载的,你应该检查下你的网络,看上 github google 之类的速度怎么样。


#4

好的谢谢 我在努力Build包中!