I have installed python 3.6 via Anaconda3 and then julia 0.6.2. When I install PyPlot package for julia, it installs python 2.7 and mkl, numpy... How can I tell julia to use the current installed python 3.6 since I don't want to install different versions of python. Thank you.
1 Answers
3
votes
Run:
ENV["PYTHON"] = "... path of the python program you want ..."
Pkg.build("PyCall")
Reference: https://github.com/JuliaPy/PyCall.jl#specifying-the-python-version
ENV["PYTHON"]
to point to your python executable (ie: on Windows:ENV["PYTHON"]="C:\\Anaconda3\\python.exe"
) before install PyPlot/PyCall. – Gomiero