I checked the Chocolaty log and found the temporary file where miniconda2.exe goes down, it was incomplete. I downloaded the miniconda through the phone from the link and put it in the temporary chocolate file. And apparently I install miniconda correctly.
choco install miniconda
Chocolatey v0.10.15
Installing the following packages:
miniconda
By installing you accept licenses for the packages.
Progress: Downloading Miniconda 4.3.21... 100%
Miniconda v4.3.21 [Approved]
miniconda package files install completed. Performing other installation steps.
The package Miniconda wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): Y
Using system proxy server 'fproxy2.xxx.xxx.xx.xx:8080'.
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Hashes match.
Hashes match.
Installing miniconda...
miniconda has been installed.
The install of miniconda was successful.
Software installed as 'EXE', install location is likely default.
Chocolatey installed 1/1 packages.
See the log for details (C:\Users\hermesr\ProgramData\chocoportable\logs\chocolatey.log).
however noteboo ():
using IJulia
Julia> notebook()
install Jupyter via Conda, y/n? [y]: y
[ Info: Downloading miniconda installer ...
[ Info: Installing miniconda ...
ERROR: IOError: could not spawn `'C:\Users\hermesr\.julia\conda\3\installer.exe' /S /AddToPath=0 /RegisterPython=0 '/D=C:\Users\hermesr\.julia\conda\3'`: unknown error (UNKNOWN)
Stacktrace:
[1] _spawn_primitive(::String, ::Cmd, ::Array{Any,1}) at .\process.jl:99
[2] #585 at .\process.jl:112 [inlined]
[3] setup_stdios(::Base.var"#585#586"{Cmd}, ::Array{Any,1}) at .\process.jl:196
[4] _spawn at .\process.jl:111 [inlined]
[5] run(::Cmd; wait::Bool) at .\process.jl:439
[6] run at .\process.jl:438 [inlined]
[7] _install_conda(::String, ::Bool) at C:\Users\hermesr\.julia\packages\Conda\3rPhK\src\Conda.jl:172
[8] _install_conda(::String) at C:\Users\hermesr\.julia\packages\Conda\3rPhK\src\Conda.jl:155
[9] runconda(::Cmd, ::String) at C:\Users\hermesr\.julia\packages\Conda\3rPhK\src\Conda.jl:112
[10] add(::String, ::String; channel::String) at C:\Users\hermesr\.julia\packages\Conda\3rPhK\src\Conda.jl:188
[11] add at C:\Users\hermesr\.julia\packages\Conda\3rPhK\src\Conda.jl:187 [inlined] (repeats 2 times)
[12] find_jupyter_subcommand(::String) at C:\Users\hermesr\.julia\packages\IJulia\tOM8L\src\jupyter.jl:23
[13] notebook(; dir::String, detached::Bool) at C:\Users\hermesr\.julia\packages\IJulia\tOM8L\src\jupyter.jl:96
[14] notebook() at C:\Users\hermesr\.julia\packages\IJulia\tOM8L\src\jupyter.jl:95
[15] top-level scope at REPL[4]:1