MilesCranmer commited on
Commit
2b1eb23
1 Parent(s): b5f33d5

Recommend user install with `--enable-shared`

Browse files
Files changed (1) hide show
  1. pysr/julia_helpers.py +1 -1
pysr/julia_helpers.py CHANGED
@@ -193,7 +193,7 @@ def init_julia(julia_project=None, quiet=False, julia_kwargs=None, return_aux=Fa
193
  julia_kwargs = {**julia_kwargs, "compiled_modules": False}
194
  Julia(**julia_kwargs)
195
  warnings.warn(
196
- "Your system's Python library is static (e.g., conda), so precompilation will be turned off. For a dynamic library, try `pyenv`."
197
  )
198
 
199
  using_compiled_modules = (not "compiled_modules" in julia_kwargs) or julia_kwargs[
 
193
  julia_kwargs = {**julia_kwargs, "compiled_modules": False}
194
  Julia(**julia_kwargs)
195
  warnings.warn(
196
+ "Your system's Python library is static (e.g., conda), so precompilation will be turned off. For a dynamic library, try using `pyenv` and installing with `--enable-shared`: https://github.com/pyenv/pyenv/blob/master/plugins/python-build/README.md#building-with---enable-shared."
197
  )
198
 
199
  using_compiled_modules = (not "compiled_modules" in julia_kwargs) or julia_kwargs[