Skip to content

Commit

Permalink
Update docs to python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoAlvarezR committed Sep 11, 2020
1 parent 4533f91 commit e51c879
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/tutorials/installation-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
```

Expand All @@ -27,7 +27,7 @@ PyCall.pyversion
which should reveal your Python version:

```julia
v"2.7.16"
v"3.8"
```

## `Paraview`
Expand Down

0 comments on commit e51c879

Please sign in to comment.