Old bug back . Instaling package on win 7 Julia 0.7

New Win7/64
Easy fix updated.
.Net Framework 4.7 instaled


               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.7.0 (2018-08-08 06:46 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-w64-mingw32

(v0.7) pkg> add WinRPM
  Updating registry at `C:\Users\PC\.julia\registries\General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
   Cloning [b27032c2-a3e7-50c8-80cd-2d36dbcbfd21] LibCURL from https://github.com/JuliaWeb/LibCURL.jl.git
[ Info: Installed LibCURL ───────── v0.5.0
   Cloning [522f3ed2-3f36-55e3-b6df-e94fee9b0c07] LibExpat from https://github.com/JuliaIO/LibExpat.jl.git
[ Info: Installed LibExpat ──────── v0.5.0
   Cloning [0862f596-cf2d-50af-8ef4-f2be67dfa83f] HTTPClient from https://github.com/JuliaWeb/HTTPClient.jl.git
[ Info: Installed HTTPClient ────── v0.2.1
   Cloning [2ec943e9-cfe8-584d-b93d-64dcb6d567b7] Libz from https://github.com/BioJulia/Libz.jl.git
[ Info: Installed Libz ──────────── v1.0.0
   Cloning [34da2185-b29b-5c13-b0c7-acf172513d20] Compat from https://github.com/JuliaLang/Compat.jl.git
[ Info: Installed Compat ────────── v2.1.0
   Cloning [c17dfb99-b4f7-5aad-8812-456da1ad7187] WinRPM from https://github.com/JuliaPackaging/WinRPM.jl.git
[ Info: Installed WinRPM ────────── v0.4.2
   Cloning [e1450e63-4bb3-523b-b2a4-4ffa8c0fd77d] BufferedStreams from https://github.com/BioJulia/BufferedStreams.jl.git
[ Info: Installed BufferedStreams ─ v1.0.0
   Cloning [30578b45-9adc-5946-b283-645ec420af67] URIParser from https://github.com/JuliaWeb/URIParser.jl.git
[ Info: Installed URIParser ─────── v0.4.0
   Cloning [9e28174c-4ba2-5203-b857-d8d62c4213ee] BinDeps from https://github.com/JuliaPackaging/BinDeps.jl.git
[ Info: Installed BinDeps ───────── v0.8.10
  Updating `C:\Users\PC\.julia\environments\v0.7\Project.toml`
  [c17dfb99] + WinRPM v0.4.2
  Updating `C:\Users\PC\.julia\environments\v0.7\Manifest.toml`
  [9e28174c] + BinDeps v0.8.10
  [e1450e63] + BufferedStreams v1.0.0
  [34da2185] + Compat v2.1.0
  [0862f596] + HTTPClient v0.2.1
  [b27032c2] + LibCURL v0.5.0
  [522f3ed2] + LibExpat v0.5.0
  [2ec943e9] + Libz v1.0.0
  [30578b45] + URIParser v0.4.0
  [c17dfb99] + WinRPM v0.4.2
  [8bb1440f] + DelimitedFiles
  [1a1011a3] + SharedArrays
  [10745b16] + Statistics
  Building LibCURL → `C:\Users\PC\.julia\packages\LibCURL\khRkY\deps\build.log`
┌ Error: Error building `LibCURL`:
│ C�a�n�n�o�t� �s�t�a�r�t� �W�i�n�d�o�w�s� �P�o�w�e�r�S�h�e�l�l� �v�e�r�s�i�o�n� �3� �b�e�c�a�u�s�e� �i�t� �i�s� �n�o�t� �c�o�r�r�
��c�t�l�y� �i�n�s�t�a�l�l�e�d�.�
│ �ERROR: LoadError: Downloading files requires Windows Management Framework 3.0 or later.
│ Stacktrace:
│  [1] error(::String) at .\error.jl:33
│  [2] download(::String, ::String) at .\download.jl:20
│  [3] top-level scope at C:\Users\PC\.julia\packages\LibCURL\khRkY\deps\build.jl:19
│  [4] include at .\boot.jl:317 [inlined]
│  [5] include_relative(::Module, ::String) at .\loading.jl:1038
│  [6] include(::Module, ::String) at .\sysimg.jl:29
│  [7] include(::String) at .\client.jl:398
│  [8] top-level scope at none:0
│ in expression starting at C:\Users\PC\.julia\packages\LibCURL\khRkY\deps\build.jl:16
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\Operations
.jl:1068
  Building WinRPM ─→ `C:\Users\PC\.julia\packages\WinRPM\Y9QdZ\deps\build.log`

julia> using Pkg

julia> Pkg.build("LibCURL")
  Building LibCURL → `C:\Users\PC\.julia\packages\LibCURL\khRkY\deps\build.log`
┌ Error: Error building `LibCURL`:
│ C�a�n�n�o�t� �s�t�a�r�t� �W�i�n�d�o�w�s� �P�o�w�e�r�S�h�e�l�l� �v�e�r�s�i�o�n� �3� �b�e�c�a�u�s�e� �i�t� �i�s� �n�o�t� �c�o�r�r�
��c�t�l�y� �i�n�s�t�a�l�l�e�d�.�
│ �ERROR: LoadError: Downloading files requires Windows Management Framework 3.0 or later.
│ Stacktrace:
│  [1] error(::String) at .\error.jl:33
│  [2] download(::String, ::String) at .\download.jl:20
│  [3] top-level scope at C:\Users\PC\.julia\packages\LibCURL\khRkY\deps\build.jl:19
│  [4] include at .\boot.jl:317 [inlined]
│  [5] include_relative(::Module, ::String) at .\loading.jl:1038
│  [6] include(::Module, ::String) at .\sysimg.jl:29
│  [7] include(::String) at .\client.jl:398
│  [8] top-level scope at none:0
│ in expression starting at C:\Users\PC\.julia\packages\LibCURL\khRkY\deps\build.jl:16
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v0.7\Pkg\src\Operations
.jl:1068

julia>

What next ?
(I must some times to teach some new user using julia 07 on win 7 > to translate old code)
Paul

P.s.
On Version 1.0.3 (2018-12-18) is similar error with

  Building CodecZlib → `C:\Users\PC\.julia\packages\CodecZlib\9jDi1\deps\build.log`
┌ Error: Error building `CodecZlib`:
│ [ Info: Downloading https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib.v1.2.11.x86_64-w
o C:\Users\PC\.julia\packages\CodecZlib\9jDi1\deps\usr\downloads\Zlib.v1.2.11.x86_64-w64-mingw32.tar.gz...
│ ERROR: LoadError: Could not download https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/Zlib
....
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations
.jl:1097

The line with C:\cygwin\home\Administrator\build is not corect. On my machine no any directores with cygwin\ !!!
Paul

I needed Windows Management Framework 5.1 !!! (.Net Framework is not the same )

Now looks OK
Paul

Glad you found a fix! Just FYI, it looks like you’re using quoting intended for speech rather than code. You want to use 3 backticks at the top and bottom of code blocks or press the button that looks like </>. Compare

function foo(speech)
println(“this doesn’t look good”)
end

to

function bar(code)
    println("ahh, much better")
end
1 Like

Thanks ! I find this ``` :slight_smile:

Yes! Much nicer :wink: