Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
6ccb05b
1
Parent(s):
70345d0
Add warning about restarting PySR after install
Browse files- pysr/sr.py +4 -0
pysr/sr.py
CHANGED
@@ -29,6 +29,10 @@ def install(julia_project=None):
|
|
29 |
Pkg.update()
|
30 |
Pkg.instantiate()
|
31 |
Pkg.precompile()
|
|
|
|
|
|
|
|
|
32 |
|
33 |
|
34 |
Main = None
|
|
|
29 |
Pkg.update()
|
30 |
Pkg.instantiate()
|
31 |
Pkg.precompile()
|
32 |
+
warnings.warn(
|
33 |
+
"It is recommended to restart Python after installing PySR's dependencies,"
|
34 |
+
" so that the Julia environment is properly initialized."
|
35 |
+
)
|
36 |
|
37 |
|
38 |
Main = None
|