Skip to content

Commit

Permalink
Recommend user install with --enable-shared
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jun 16, 2023
1 parent b5f33d5 commit 2b1eb23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/julia_helpers.py
Expand Up @@ -193,7 +193,7 @@ def init_julia(julia_project=None, quiet=False, julia_kwargs=None, return_aux=Fa
julia_kwargs = {**julia_kwargs, "compiled_modules": False}
Julia(**julia_kwargs)
warnings.warn(
"Your system's Python library is static (e.g., conda), so precompilation will be turned off. For a dynamic library, try `pyenv`."
"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."
)

using_compiled_modules = (not "compiled_modules" in julia_kwargs) or julia_kwargs[
Expand Down

0 comments on commit 2b1eb23

Please sign in to comment.