Skip to content

Commit

Permalink
Mention virtual environments support [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Oct 26, 2018
1 parent a6e729a commit 620d259
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,18 @@ In [2]: %%julia
|__/ |
```

### Virtual environments

PyJulia can be used in Python virtual environments created by
`virtualenv`, `venv`, and any tools wrapping them such as `pipenv`
provided that Python executable used in such environments are
identical to the one configured with PyCall. If this is not the case,
initializing PyJulia (e.g., `import julia.Main`) prints an informative
error message with detected paths to libjulia. See
[PyCall documentation](https://github.com/JuliaPy/PyCall.jl) for how
to configure Python executable.

Note that Python environment created by `conda` is not supported.

Troubleshooting
---------------
Expand Down

0 comments on commit 620d259

Please sign in to comment.