Skip to content

Commit

Permalink
Split warning into lines
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Dec 10, 2022
1 parent d0316ac commit c12add7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pysr/julia_helpers.py
Expand Up @@ -181,7 +181,9 @@ def init_julia(julia_project=None, quiet=False, julia_kwargs=None):
except UnsupportedPythonError:
# Static python binary, so we turn off pre-compiled modules.
warnings.warn(
"You are using a statically-linked Python binary. The first run of PySR will be slower, as all dependencies need to be compiled. Switch to a dynamically-linked version of Python to have a faster startup time."
"You are using a statically-linked Python binary. "
"The first run of PySR will be slower, as all dependencies need to be compiled. "
"Switch to a dynamically-linked version of Python to have a faster startup time."
)
julia_kwargs = {**julia_kwargs, "compiled_modules": False}
Julia(**julia_kwargs)
Expand Down

0 comments on commit c12add7

Please sign in to comment.