File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,18 @@ In [2]: %%julia
159
159
|__/ |
160
160
```
161
161
162
+ ### Virtual environments
163
+
164
+ PyJulia can be used in Python virtual environments created by
165
+ ` virtualenv ` , ` venv ` , and any tools wrapping them such as ` pipenv `
166
+ provided that Python executable used in such environments are
167
+ identical to the one configured with PyCall. If this is not the case,
168
+ initializing PyJulia (e.g., ` import julia.Main ` ) prints an informative
169
+ error message with detected paths to libjulia. See
170
+ [ PyCall documentation] ( https://github.com/JuliaPy/PyCall.jl ) for how
171
+ to configure Python executable.
172
+
173
+ Note that Python environment created by ` conda ` is not supported.
162
174
163
175
Troubleshooting
164
176
---------------
You can’t perform that action at this time.
0 commit comments