Spaces:
Running
Running
Merge branch 'master' of https://github.com/w2ll2am/PySR
Browse files- pysr/julia_helpers.py +4 -4
- requirements.txt +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 |
|
requirements.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
sympy
|
| 2 |
pandas
|
| 3 |
numpy
|
| 4 |
-
scikit_learn
|
| 5 |
-
julia
|
| 6 |
-
click>=
|
| 7 |
-
setuptools>=
|
|
|
|
| 1 |
sympy
|
| 2 |
pandas
|
| 3 |
numpy
|
| 4 |
+
scikit_learn>=1.0.0
|
| 5 |
+
julia>=0.6.0
|
| 6 |
+
click>=7.0.0
|
| 7 |
+
setuptools>=50.0.0
|