Closed stumarcus314 closed 6 years ago
curl: (60) SSL certificate problem: unable to get local issuer certificate
Seems like a network problem. Are you behind some kind of corporate firewall?
I was behind a corporate firewall. I switched over to the guest wi-fi, which is not behind a firewall, and the installation of the PyPlot package worked. Thanks.
I am trying to add the PyPlot package to julia version 0.6.2 on MacOS version 10.12.6, but get the following build error:
julia> Pkg.add("PyPlot") WARNING: julia is fixed at 0.6.2 conflicting with requirement for POD: [0.5.0,0.6.1-) INFO: Installing Conda v0.7.1 INFO: Installing LaTeXStrings v0.3.0 INFO: Installing MacroTools v0.4.0 INFO: Installing PyCall v1.15.0 INFO: Installing PyPlot v2.5.0 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 ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure. ================================[ ERROR: PyCall ]================================
LoadError: failed process: Process(
curl -L -f -o /Users/a598124/.julia/v0.6/Conda/deps/usr/installer.sh https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
, ProcessExited(60)) [60] while loading /Users/a598124/.julia/v0.6/PyCall/deps/build.jl, in expression starting on line 255=================================================================================
================================[ BUILD ERRORS ]=================================
WARNING: PyCall had build errors.
Pkg.build("PyCall")
deps/build.jl
script================================================================================= INFO: Package database updated