Spaces:
Sleeping
Sleeping
Commit
·
2727648
1
Parent(s):
f5943a7
Improve error message for static linking
Browse files- pysr/sr.py +1 -1
- setup.py +1 -1
pysr/sr.py
CHANGED
|
@@ -321,7 +321,7 @@ def init_julia():
|
|
| 321 |
Your Python version is statically linked to libpython. For example, this could be the python included with conda, or maybe your system's built-in python.
|
| 322 |
This will still work, but the precompilation cache for Julia will be turned off, which may result in slower startup times on the initial pysr() call.
|
| 323 |
|
| 324 |
-
To install a Python version that is dynamically linked to libpython, pyenv is recommended (https://github.com/pyenv/pyenv).
|
| 325 |
|
| 326 |
To silence this warning, you can run pysr.silence_julia_warning() after importing pysr."""
|
| 327 |
)
|
|
|
|
| 321 |
Your Python version is statically linked to libpython. For example, this could be the python included with conda, or maybe your system's built-in python.
|
| 322 |
This will still work, but the precompilation cache for Julia will be turned off, which may result in slower startup times on the initial pysr() call.
|
| 323 |
|
| 324 |
+
To install a Python version that is dynamically linked to libpython, pyenv is recommended (https://github.com/pyenv/pyenv). With pyenv, you can run: `PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.9.10` to install Python 3.9.10 with dynamic linking.
|
| 325 |
|
| 326 |
To silence this warning, you can run pysr.silence_julia_warning() after importing pysr."""
|
| 327 |
)
|
setup.py
CHANGED
|
@@ -8,7 +8,7 @@ except FileNotFoundError:
|
|
| 8 |
|
| 9 |
setuptools.setup(
|
| 10 |
name="pysr",
|
| 11 |
-
version="0.7.0-
|
| 12 |
author="Miles Cranmer",
|
| 13 |
author_email="miles.cranmer@gmail.com",
|
| 14 |
description="Simple and efficient symbolic regression",
|
|
|
|
| 8 |
|
| 9 |
setuptools.setup(
|
| 10 |
name="pysr",
|
| 11 |
+
version="0.7.0-6",
|
| 12 |
author="Miles Cranmer",
|
| 13 |
author_email="miles.cranmer@gmail.com",
|
| 14 |
description="Simple and efficient symbolic regression",
|