From e51c879240cc2bd95be1230cfec35e6bf1394344 Mon Sep 17 00:00:00 2001 From: EdoAlvarezR Date: Fri, 11 Sep 2020 14:28:34 -0600 Subject: [PATCH] Update docs to python 3 --- docs/src/tutorials/installation-instructions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/tutorials/installation-instructions.md b/docs/src/tutorials/installation-instructions.md index ae928f9e..db269313 100644 --- a/docs/src/tutorials/installation-instructions.md +++ b/docs/src/tutorials/installation-instructions.md @@ -8,12 +8,12 @@ In order to install `FLOWUnsteady.jl`, set Julia up in your system (download fro ## Setting up PyCall -The `airfoilprep.py` package (wrapped by the [`AirfoilPrep.jl`](https://github.com/byuflowlab/AirfoilPrep.jl) package) is written in Python 2.7, so make sure that the Python version linked to `PyCall.jl` is 2.7. After installing PyCall (`] add PyCall`), you can do this by running the following: +The `airfoilprep.py` package (wrapped by the [`AirfoilPrep.jl`](https://github.com/byuflowlab/AirfoilPrep.jl) package) is written in Python 3.8, so make sure that the Python version linked to `PyCall.jl` is 3.8. After installing PyCall (`] add PyCall`), you can do this by running the following: ```julia import Pkg Pkg.add("PyCall") -ENV["PYTHON"] = "path/to/your/python2" +ENV["PYTHON"] = "path/to/your/python3" Pkg.build("PyCall") ``` @@ -27,7 +27,7 @@ PyCall.pyversion which should reveal your Python version: ```julia -v"2.7.16" +v"3.8" ``` ## `Paraview`