Problem with Julia installation on Win 10

Hi,
I’m a relatively new Julia user trying to install Julia + PyPlot on a new computer running Windows 10. I have only used Julia on unix before and had no problems.

After running the Julia installer, which works fine, I try to add PyPlot but it fails. I tried the recommended installation procedure from the beginning several times without luck.
The problem seems to be with the minconda package.

Any help is much appreciated.

This is what the Julia session looks like after a fresh installation trying to add PyPlot:

               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.2 (2017-12-13 18:08 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-w64-mingw32

julia> Pkg.add("PyPlot")
INFO: Initializing package repository C:\Users\odj\.julia\v0.6
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
INFO: Cloning cache of BinDeps from https://github.com/JuliaLang/BinDeps.jl.git
INFO: Cloning cache of ColorTypes from https://github.com/JuliaGraphics/ColorTypes.jl.git
INFO: Cloning cache of Colors from https://github.com/JuliaGraphics/Colors.jl.git
INFO: Cloning cache of Compat from https://github.com/JuliaLang/Compat.jl.git
INFO: Cloning cache of Conda from https://github.com/JuliaPy/Conda.jl.git
INFO: Cloning cache of FixedPointNumbers from https://github.com/JuliaMath/FixedPointNumbers.jl.git
INFO: Cloning cache of JSON from https://github.com/JuliaIO/JSON.jl.git
INFO: Cloning cache of LaTeXStrings from https://github.com/stevengj/LaTeXStrings.jl.git
INFO: Cloning cache of MacroTools from https://github.com/MikeInnes/MacroTools.jl.git
INFO: Cloning cache of Nullables from https://github.com/JuliaArchive/Nullables.jl.git
INFO: Cloning cache of PyCall from https://github.com/JuliaPy/PyCall.jl.git
INFO: Cloning cache of PyPlot from https://github.com/JuliaPy/PyPlot.jl.git
INFO: Cloning cache of Reexport from https://github.com/simonster/Reexport.jl.git
INFO: Cloning cache of SHA from https://github.com/staticfloat/SHA.jl.git
INFO: Cloning cache of URIParser from https://github.com/JuliaWeb/URIParser.jl.git
INFO: Installing BinDeps v0.8.7
INFO: Installing ColorTypes v0.6.7
INFO: Installing Colors v0.8.2
INFO: Installing Compat v0.63.0
INFO: Installing Conda v0.7.1
INFO: Installing FixedPointNumbers v0.4.6
INFO: Installing JSON v0.17.2
INFO: Installing LaTeXStrings v0.3.0
INFO: Installing MacroTools v0.4.0
INFO: Installing Nullables v0.0.5
INFO: Installing PyCall v1.15.0
INFO: Installing PyPlot v2.5.0
INFO: Installing Reexport v0.1.0
INFO: Installing SHA v0.5.6
INFO: Installing URIParser v0.3.1
INFO: Building Conda
INFO: Building PyCall
INFO: Using the Python distribution in the Conda package by default.
To use a different Python version, set ENV["PYTHON"]="pythoncommand" and re-run Pkg.build("PyCall").
INFO: Downloading miniconda installer ...
INFO: Installing miniconda ...
Warning: 'defaults' already in 'channels' list, moving to the top
Solving environment: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pkgs/free/noarch/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded with url: /pkgs/free/noarch/repodata.json.bz2 (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x00000000032F6828>, 'Connection to repo.continuum.io timed out. (connect timeout=9.15)'))",),)

...

/Jens

The error message says:

HTTP errors are often intermittent, and a simple retry will get you on your way.

have you tried running Pkg.add("PyPlot") and/or Pkg.build("PyPlot") again?

Hello @jmo I also use Julia on Windows 10.
Pkg.add(“PyPlot”) Works oK for me.
As rdeits says - please try this again. If you still are having problems, then replya gain to this topic.

@rdeits I tried running Pkg.add(“PyPlot”) and/or Pkg.build(“PyPlot”) multiple times and I also reinstalled Julia from the beginning several times without success.

Since the problem appear to be related to the miniconda package not being able to download I installed Anaconda. And after finishing the Anaconda installation including a test that matplotlib was working in python I pointed julia to it.

julia> ENV["PYTHON"]="C:\\ProgramData\\Anaconda2\\python.exe"
"C:\\ProgramData\\Anaconda2\\python.exe"

julia> Pkg.build("PyCall")
INFO: Building Conda
INFO: Building PyCall
INFO: PyCall is using C:\ProgramData\Anaconda2\python.exe (Python 2.7.14) at C:\ProgramData\Anaconda2\python.exe, libpython = C:\ProgramData\Anaconda2\python27
INFO: C:\Users\odj\.julia\v0.6\PyCall\deps\deps.jl has been updated
INFO: C:\Users\odj\.julia\v0.6\PyCall\deps\PYTHON has been updated

julia> using PyPlot
INFO: Precompiling module PyPlot.

julia> plot(1:10)

Now I got one step further and PyPlot seems to install ok. However, in the last step when i run a test plot(1:10) windows gives me: “Runtime error! Program C:\Users\odj\Appdata\Local\Julia-0.6.2\bin\julia.exe
R6034 An application has made an attempt to load the C runtime library incorrectly. Please contact the application’s support team for more information.” and hangs Julia.