Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
0a7daf2
1
Parent(s):
b667140
Tweak documentation
Browse files- pysr/julia_helpers.py +4 -4
pysr/julia_helpers.py
CHANGED
@@ -110,8 +110,8 @@ def install(julia_project=None, quiet=False, precompile=None): # pragma: no cov
|
|
110 |
|
111 |
def _import_error():
|
112 |
return """
|
113 |
-
Required dependencies are not installed or built. Run the following command:
|
114 |
-
|
115 |
"""
|
116 |
|
117 |
|
@@ -284,14 +284,14 @@ def _backend_version_assertion(Main):
|
|
284 |
f"does not match expected version {expected_backend_version}. "
|
285 |
"Things may break. "
|
286 |
"Please update your PySR installation with "
|
287 |
-
"`
|
288 |
)
|
289 |
except JuliaError: # pragma: no cover
|
290 |
warnings.warn(
|
291 |
"You seem to have an outdated version of SymbolicRegression.jl. "
|
292 |
"Things may break. "
|
293 |
"Please update your PySR installation with "
|
294 |
-
"`
|
295 |
)
|
296 |
|
297 |
|
|
|
110 |
|
111 |
def _import_error():
|
112 |
return """
|
113 |
+
Required dependencies are not installed or built. Run the following command in your terminal:
|
114 |
+
python3 -m pysr install
|
115 |
"""
|
116 |
|
117 |
|
|
|
284 |
f"does not match expected version {expected_backend_version}. "
|
285 |
"Things may break. "
|
286 |
"Please update your PySR installation with "
|
287 |
+
"`python3 -m pysr install`."
|
288 |
)
|
289 |
except JuliaError: # pragma: no cover
|
290 |
warnings.warn(
|
291 |
"You seem to have an outdated version of SymbolicRegression.jl. "
|
292 |
"Things may break. "
|
293 |
"Please update your PySR installation with "
|
294 |
+
"`python3 -m pysr install`."
|
295 |
)
|
296 |
|
297 |
|