# Problem with curl.exe (Windows) and package installation

**URL:** <https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525>\
**Category:** New to Julia\
**Created:** [October 5, 2019, 6:12pm UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525 "2019-10-05T18:12:36Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [October 9, 2019, 3:36pm UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/41 "2019-10-09T15:36:46Z")

</div>

On Windows Base.download() behaves like:

Julia 1.1:  
powershell  
can be altered by overwriting Base.download()  
Julia 1.2:  
Windows 10: C:\Windows\system32\curl.exe  
Windows \<10: powershell  
can be altered by overwriting Base.download() or Base.find\_curl()  
Julia 1.3:  
Windows 10: C:\Windows\system32\curl.exe  
Windows \<10: powershell  
can be altered by overwriting Base.download() or Base.find\_curl()

Windows\<10 depends on the point from when curl.exe exists in C:\Windows\system32. This is not the case for Windows 7 (can’t check for Windows 8, but doesn’t matter so much).

The switch to curl.exe maybe motivated by the following comment in the code:  
`# PowerShell v3 or later is required for Tls12`

libcurl is not part of plain Julia on Windows.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [October 9, 2019, 4:48pm UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/42 "2019-10-09T16:48:34Z")

</div>

> [@oheil](#):
>
> libcurl is not part of Julia on Windows.

Is it part of Julia on other platforms? All I could find is that it was proposed in

> <https://github.com/JuliaLang/julia/issues/27043>
>
> We currently export a \`download\` function from Base for downloading files. It ha…s some issues:
> \- it shells out to an external program, currently \`wget\`, \`curl\` or \`fetch\` on unix, or a PowerShell command on Windows. Since these utilities are not bundled with Julia, they can cause problems if they don't exist on the system or are otherwise misconfigured (#26459, #22783, #17889)
> \- it is fairly basic feature wise: e.g. it doesn't support:
> \* "silent" mode for hiding output (#15930)
> \* capturing of stdout/stderr
> \* consistent progress bar
> \* logging
> \* useful error codes/messages
> \* restarting terminated downloads
> \- the whole GitHub TLS mess
> 
> As a result, several packages implement their own functionality, notably BinDeps.jl, BinaryProvider.jl, and Pkg3.jl (pending https://github.com/JuliaLang/Pkg3.jl/pull/280). In fact, it doesn't appear to be currently used anywhere in Base or stdlib (it is mentioned in a couple of comments in the REPL code).
> 
> Some options:
> - Move it to a stdlib package to make it easier to update, add features etc (at least it will once we have versioned stdlib packages).
> - Add the functionality to HTTP.jl, and move that to stdlib. This would have the advantage of getting rid of the mish-mash of shell code we currently use (suggested in https://github.com/JuliaLang/julia/pull/26559#issuecomment-378412637)
> - Get rid of it altogether.
>  
> cc: @staticfloat @tkelman @samoconnor

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [October 9, 2019, 5:00pm UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/43 "2019-10-09T17:00:37Z")

</div>

It looks like `HTTP.download` is the future. Doesn’t look like libcurl or curl is bundled on any other OS.  
Anyways, the basic issue seems to be on the monitor and more or less solved in future julia releases.

---

<div class="post-metadata">

**Author:** ![Iagoba\_Apellaniz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iagoba_apellaniz/32/34406_2.png) [@Iagoba\_Apellaniz](https://discourse.julialang.org/u/Iagoba_Apellaniz)\
**Post date:** [December 16, 2019, 9:06am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/44 "2019-12-16T09:06:51Z")

</div>

I’m not able to solve this.

- I downloaded a new version for cURL (but I cannot even change the name of system32/curl.exe, since the computer is administrated by the university and I have not the necessary priviledges)
- I upgraded Julia to 1.3.0
- I changed the `find_curl()` to `nothing`
- etc.

I write because I’m running out of ideas.

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [December 16, 2019, 9:18am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/45 "2019-12-16T09:18:04Z")

</div>

Change find\_curl() to return the path to your new downloaded curl binary, e.g.:

```julia
julia> Base.find_curl() = "C:\\path\\to\\downloaded\\curl.exe"

```

---

<div class="post-metadata">

**Author:** ![Iagoba\_Apellaniz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iagoba_apellaniz/32/34406_2.png) [@Iagoba\_Apellaniz](https://discourse.julialang.org/u/Iagoba_Apellaniz)\
**Post date:** [December 16, 2019, 9:30am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/46 "2019-12-16T09:30:56Z")

</div>

Thanks, but it doesn’t work. I also changed the PATH variable so now is pointing to the newest curl.exe. 😢

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [December 16, 2019, 9:36am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/47 "2019-12-16T09:36:24Z")

</div>

Do you have some errors to show?

The PATH variable is not working in this case because:

```julia
function find_curl()
    if Sys.isapple() && Sys.isexecutable("/usr/bin/curl")
        "/usr/bin/curl"
    elseif Sys.iswindows() && Sys.isexecutable(joinpath(get(ENV, "SYSTEMROOT", "C:\\Windows"), "System32\\curl.exe"))
        joinpath(get(ENV, "SYSTEMROOT", "C:\\Windows"), "System32\\curl.exe")
    elseif !Sys.iswindows() && Sys.which("curl") !== nothing
        "curl"
    else
        nothing
    end
end

```

It returns

```julia
joinpath(get(ENV, "SYSTEMROOT", "C:\\Windows"), "System32\\curl.exe")

```

---

<div class="post-metadata">

**Author:** ![Iagoba\_Apellaniz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iagoba_apellaniz/32/34406_2.png) [@Iagoba\_Apellaniz](https://discourse.julialang.org/u/Iagoba_Apellaniz)\
**Post date:** [December 16, 2019, 9:43am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/48 "2019-12-16T09:43:42Z")

</div>

The errors are related with cURL

```julia
 Building WebIO ───────────→ `C:\Users\japellaniz\.julia\packages\WebIO\2mZPb\deps\build.log`
┌ Error: Error building `WebIO`:
│ [ Info: Downloading WebIO core bundle from unpkg...
│ ┌ Error: Download failed: curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - La funci�n de revocaci�n no puede comprobar la revocaci�n para el certificado.
│ └ @ Base download.jl:43
│ ERROR: LoadError: failed process: Process(`'C:\Windows\System32\curl.exe' -s -S -g -L -f -o 'C:\Users\japellaniz\.julia\packages\WebIO\2mZPb\deps\bundles\webio.bundle.js' https://unpkg.com/@webio/webio@0.8.11/dist/webio.bundle.js`, ProcessExited(35)) [35]
│
│ Stacktrace:
│ [1] pipeline_error at .\process.jl:525 [inlined]
│ [2] download_curl(::String, ::String, ::String) at .\download.jl:44
│ [3] download at .\download.jl:62 [inlined]
│ [4] download_bundle(::String, ::String, ::String) at C:\Users\japellaniz\.julia\packages\WebIO\2mZPb\deps\bundlepaths.jl:43
│ [5] download_js_bundles() at C:\Users\japellaniz\.julia\packages\WebIO\2mZPb\deps\bundlepaths.jl:56
│ [6] top-level scope at C:\Users\japellaniz\.julia\packages\WebIO\2mZPb\deps\build.jl:6
│ [7] include at .\boot.jl:328 [inlined]
│ [8] include_relative(::Module, ::String) at .\loading.jl:1105
│ [9] include(::Module, ::String) at .\Base.jl:31
│ [10] include(::String) at .\client.jl:424
│ [11] top-level scope at none:5
│ in expression starting at C:\Users\japellaniz\.julia\packages\WebIO\2mZPb\deps\build.jl:6
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\backwards_compatible_isolation.jl:649
  Building SpecialFunctions → `C:\Users\japellaniz\.julia\packages\SpecialFunctions\ne2iw\deps\build.log`
  Building Blink ───────────→ `C:\Users\japellaniz\.julia\packages\Blink\AO8uN\deps\build.log`
┌ Error: Error building `Blink`:
│ ERROR: LoadError: could not find C:\Users\japellaniz\AppData\Local\Julia-1.3.0\bin\7z.exe. Try also installing a binary version of Julia.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] (::Main.BuildBlink.var"#1#4")() at C:\Users\japellaniz\.julia\packages\Blink\AO8uN\src\AtomShell\install.jl:68
│ [3] cd(::Main.BuildBlink.var"#1#4", ::String) at .\file.jl:93
│ [4] install() at C:\Users\japellaniz\.julia\packages\Blink\AO8uN\src\AtomShell\install.jl:27
│ [5] top-level scope at C:\Users\japellaniz\.julia\packages\Blink\AO8uN\deps\build.jl:14
│ [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\japellaniz\.julia\packages\Blink\AO8uN\deps\build.jl:13
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\backwards_compatible_isolation.jl:649
  Building PlotlyJS ────────→ `C:\Users\japellaniz\.julia\packages\PlotlyJS\b9Efu\deps\build.log`
┌ Error: Error building `PlotlyJS`:
│ ┌ Error: Download failed: curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - La funci�n de revocaci�n no puede comprobar la revocaci�n para el certificado.
│ └ @ Base download.jl:43
│ ERROR: LoadError: Failed to download plotschema.json from https://api.plot.ly/v2/plot-schema?sha1. You may use your web-browser to download it from https://api.plot.ly/v2/plot-schema?sha1 and place it in C:\Users\japellaniz\.julia\packages\PlotlyJS\b9Efu\deps.
│ Stacktrace:
│ [1] error(::String) at .\error.jl:33
│ [2] datadown(::String, ::String, ::String) at C:\Users\japellaniz\.julia\packages\PlotlyJS\b9Efu\deps\build.jl:15
│ [3] top-level scope at C:\Users\japellaniz\.julia\packages\PlotlyJS\b9Efu\deps\build.jl:20
│ [4] include at .\boot.jl:328 [inlined]
│ [5] include_relative(::Module, ::String) at .\loading.jl:1105
│ [6] include(::Module, ::String) at .\Base.jl:31
│ [7] include(::String) at .\client.jl:424
│ [8] top-level scope at none:5
│ in expression starting at C:\Users\japellaniz\.julia\packages\PlotlyJS\b9Efu\deps\build.jl:20
│ caused by [exception 1]
│ failed process: Process(`'C:\Windows\System32\curl.exe' -s -S -g -L -f -o 'C:\Users\japellaniz\.julia\packages\PlotlyJS\b9Efu\deps\plotschema.json' 'https://api.plot.ly/v2/plot-schema?sha1'`, ProcessExited(35)) [35]
│
│ Stacktrace:
│ [1] pipeline_error at .\process.jl:525 [inlined]
│ [2] download_curl(::String, ::String, ::String) at .\download.jl:44
│ [3] download at .\download.jl:62 [inlined]
│ [4] datadown(::String, ::String, ::String) at C:\Users\japellaniz\.julia\packages\PlotlyJS\b9Efu\deps\build.jl:10
│ [5] top-level scope at C:\Users\japellaniz\.julia\packages\PlotlyJS\b9Efu\deps\build.jl:20
│ [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
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\backwards_compatible_isolation.jl:649

```

The only idea I didn’t try is to change `find_curl()` in the source code and compile Julia. But I want to find an easier (even if it is temporary) solution.

Thank you. If some more details are needed I’ll try to collect them. I really appreciate your help.

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [December 16, 2019, 10:02am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/49 "2019-12-16T10:02:03Z")

</div>

I think its best for now to edit the source.  
It is in  
c:\Users\YOUR\_NAME\AppData\Local\Julia-1.3.0\share\julia\base\download.jl

I don’t know why redefining Base.find\_curl() is ignored and don’t have the time now to find out.

---

<div class="post-metadata">

**Author:** ![Iagoba\_Apellaniz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iagoba_apellaniz/32/34406_2.png) [@Iagoba\_Apellaniz](https://discourse.julialang.org/u/Iagoba_Apellaniz)\
**Post date:** [December 16, 2019, 10:31am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/50 "2019-12-16T10:31:10Z")

</div>

Thanks!! I edited the code. How should I rebuild `Base` now? Anyone has any idea?

I downloaded the julia v1.3 binary and not the whole source code.

---

<div class="post-metadata">

**Author:** ![Sijun](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Post date:** [December 16, 2019, 10:33am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/51 "2019-12-16T10:33:43Z")

</div>

create a file called “\_curlrc” that contains “insecure” (wihout quote) and place it in your %APPDATA% (echo %APPDATA%). For windows, curlrc file should begin with underscore.

[https://curl.haxx.se/docs/manual.html](https://curl.haxx.se/docs/manual.html)

---

<div class="post-metadata">

**Author:** ![Iagoba\_Apellaniz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iagoba_apellaniz/32/34406_2.png) [@Iagoba\_Apellaniz](https://discourse.julialang.org/u/Iagoba_Apellaniz)\
**Post date:** [December 16, 2019, 10:38am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/52 "2019-12-16T10:38:36Z")

</div>

Thank you very much! It did work! … trying to solve this for ages

---

<div class="post-metadata">

**Author:** ![Sijun](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Post date:** [December 16, 2019, 10:40am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/53 "2019-12-16T10:40:07Z")

</div>

glad to be of help 🙂

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [December 16, 2019, 11:58am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/54 "2019-12-16T11:58:03Z")

</div>

Can you please summarise the steps you take to make download work?

---

<div class="post-metadata">

**Author:** ![Iagoba\_Apellaniz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iagoba_apellaniz/32/34406_2.png) [@Iagoba\_Apellaniz](https://discourse.julialang.org/u/Iagoba_Apellaniz)\
**Post date:** [December 16, 2019, 12:25pm UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/55 "2019-12-16T12:25:09Z")

</div>

In Wondows 10 (I don’t know for other Windows versions).

1. Open a command prompt, and type `echo %APPDATA%` to get the personal app data folder.
2. Create an empty file called `_curlrc` in the app data folder.
3. Write `insecure` on that file and save.
4. Relaunch julia and build all affected packages with `] up` or similar.

Hope this is detailed enough.

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [December 16, 2019, 12:46pm UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/56 "2019-12-16T12:46:14Z")

</div>

Great to have a work around finally! But be aware that this setting should **not stay permanently**.

---

<div class="post-metadata">

**Author:** ![kkmann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kkmann/32/1727_2.png) [@kkmann](https://discourse.julialang.org/u/kkmann)\
**Post date:** [January 13, 2020, 11:45am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/57 "2020-01-13T11:45:40Z")

</div>

@Iagoba_Apellaniz just made me aware of this thread - I might have similar issues on a mac, cf. [Curl certificate issue with Pkg3 on Mac](https://discourse.julialang.org/t/curl-certificate-issue-with-pkg3-on-mac/33299).

---

<div class="post-metadata">

**Author:** ![bwang12](https://avatars.discourse-cdn.com/v4/letter/b/90db22/32.png) [@bwang12](https://discourse.julialang.org/u/bwang12)\
**Post date:** [January 20, 2020, 2:19am UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/58 "2020-01-20T02:19:46Z")

</div>

Thanks for the share but unfortunately it did not work for me.  
I deleted all compiled cache from .julia/Compiled and rebuilt everything.  
The error remain the same:

```julia
julia> trainimgs(CIFAR10)
┌ Error: Download failed: curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
└ @ Base download.jl:43
ERROR: failed process: Process(`'C:\Windows\System32\curl.exe' -s -S -g -L -f -o 'C:\Users\bwang\.julia\packages\Metalhead\RZn9O\src\datasets\..\..\datasets\cifar-10-binary.tar.gz' 'https://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz'`, ProcessExited(35)) [35]

Stacktrace:
 [1] pipeline_error at .\process.jl:525 [inlined]
 [2] download_curl(::String, ::String, ::String) at .\download.jl:44
 [3] download at .\download.jl:62 [inlined]
 [4] download(::Module) at C:\Users\bwang\.julia\packages\Metalhead\RZn9O\src\datasets\autodetect.jl:51
 [5] dataset(::Module) at C:\Users\bwang\.julia\packages\Metalhead\RZn9O\src\datasets\autodetect.jl:31
 [6] trainimgs(::Module) at C:\Users\bwang\.julia\packages\Metalhead\RZn9O\src\datasets\autodetect.jl:41
 [7] top-level scope at none:0

```

---

<div class="post-metadata">

**Author:** ![aerdely](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aerdely/32/37506_2.png) [@aerdely](https://discourse.julialang.org/u/aerdely)\
**Post date:** [February 4, 2020, 8:35pm UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/59 "2020-02-04T20:35:54Z")

</div>

4 months after I started this post, and many Windows updates, the problem with curl.exe continues as of Julia version 1.3.1 😢

```julia
julia> using Pkg

julia> Pkg.add("IJulia")
   Cloning default registries into `C:\Users\aerde\.julia`
   Cloning registry from "https://github.com/JuliaRegistries/General.git"
     Added registry `General` to `C:\Users\aerde\.julia\registries\General`
 Resolving package versions...
 Installed VersionParsing ── v1.2.0
 Installed SoftGlobalScope ─ v1.0.10
 Installed ZeroMQ_jll ────── v4.3.1+0
 Installed Parsers ───────── v0.3.11
 Installed IJulia ────────── v1.21.0
 Installed ZMQ ───────────── v1.2.0
 Installed BinaryProvider ── v0.5.8
 Installed JSON ──────────── v0.21.0
 Installed Conda ─────────── v1.3.0
 Installed MbedTLS ───────── v0.7.0
  Updating `C:\Users\aerde\.julia\environments\v1.3\Project.toml`
  [7073ff75] + IJulia v1.21.0
  Updating `C:\Users\aerde\.julia\environments\v1.3\Manifest.toml`
  [b99e7846] + BinaryProvider v0.5.8
  [8f4d0f93] + Conda v1.3.0
  [7073ff75] + IJulia v1.21.0
  [682c06a0] + JSON v0.21.0
  [739be429] + MbedTLS v0.7.0
  [69de0a69] + Parsers v0.3.11
  [b85f4697] + SoftGlobalScope v1.0.10
  [81def892] + VersionParsing v1.2.0
  [c2297ded] + ZMQ v1.2.0
  [8f1865be] + ZeroMQ_jll v4.3.1+0
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8ba89e20] + Distributed
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  Building Conda ──→ `C:\Users\aerde\.julia\packages\Conda\kLXeC\deps\build.log`
  Building MbedTLS → `C:\Users\aerde\.julia\packages\MbedTLS\a1JFn\deps\build.log`
  Building IJulia ─→ `C:\Users\aerde\.julia\packages\IJulia\fXyGm\deps\build.log`

julia> using IJulia
[Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]

julia> notebook()
install Jupyter via Conda, y/n? [y]: y
[ Info: Downloading miniconda installer ...
┌ Error: Download failed: curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - La funci�n de revocaci�n no puede comprobar la revocaci�n para el certificado.
└ @ Base download.jl:43
ERROR: failed process: Process(`'C:\WINDOWS\System32\curl.exe' -s -S -g -L -f -o 'C:\Users\aerde\.julia\conda\3\installer.exe' https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Windows-x86_64.exe`, ProcessExited(35)) [35]

Stacktrace:
 [1] pipeline_error at .\process.jl:525 [inlined]
 [2] download_curl(::String, ::String, ::String) at .\download.jl:44
 [3] download at .\download.jl:62 [inlined]
 [4] _install_conda(::String, ::Bool) at C:\Users\aerde\.julia\packages\Conda\kLXeC\src\Conda.jl:160
 [5] _install_conda(::String) at C:\Users\aerde\.julia\packages\Conda\kLXeC\src\Conda.jl:152
 [6] runconda(::Cmd, ::String) at C:\Users\aerde\.julia\packages\Conda\kLXeC\src\Conda.jl:111
 [7] #add#1(::String, ::typeof(Conda.add), ::String, ::String) at C:\Users\aerde\.julia\packages\Conda\kLXeC\src\Conda.jl:184
 [8] add at C:\Users\aerde\.julia\packages\Conda\kLXeC\src\Conda.jl:183 [inlined] (repeats 2 times)
 [9] find_jupyter_subcommand(::String) at C:\Users\aerde\.julia\packages\IJulia\fXyGm\src\jupyter.jl:23
 [10] #notebook#8 at C:\Users\aerde\.julia\packages\IJulia\fXyGm\src\jupyter.jl:88 [inlined]
 [11] notebook() at C:\Users\aerde\.julia\packages\IJulia\fXyGm\src\jupyter.jl:87
 [12] top-level scope at REPL[6]:1
caused by [exception 1]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
 [1] uv_error at .\libuv.jl:97 [inlined]
 [2] symlink(::String, ::String) at .\file.jl:851
 [3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:131
 [4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
 [5] #unpack at .\logging.jl:0 [inlined]
 [6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.download_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
 [7] #download_verify_unpack at .\none:0 [inlined]
 [8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:744
 [9] #download_artifact at .\none:0 [inlined]
 [10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
 [11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at .\none:0
 [12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool, ::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
 [13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:0 [inlined]
 [14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:580
 [15] #download_artifacts at .\none:0 [inlined]
 [16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
 [17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPlatforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at .\none:0
 [18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
 [19] #add at .\none:0 [inlined]
 [20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
 [21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
 [22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [inlined]
 [23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [inlined]
 [24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [inlined]
 [25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [inlined]
 [26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:66
 [27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:66
 [28] top-level scope at REPL[3]:1

julia>                             

```

I have tried all that has been recommended to me. I know Julia pros work in Linux or Mac, but many mortals as myself work in Windows 😢

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [February 4, 2020, 10:55pm UTC](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525/60 "2020-02-04T22:55:45Z")

</div>

Are you behind a firewall or a somewhat protected network? [https://github.com/desktop/desktop/issues/3889#issuecomment-361799691](https://github.com/desktop/desktop/issues/3889#issuecomment-361799691)

[Previous page](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525.md?page=2)

[Next page](https://discourse.julialang.org/t/problem-with-curl-exe-windows-and-package-installation/29525.md?page=4)
