Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
0afdc3f
1
Parent(s):
367a8d9
Update install instructions with CLI
Browse files
README.md
CHANGED
@@ -133,12 +133,13 @@ python interface.
|
|
133 |
- Alternatively, my personal preference is to use [juliaup](https://github.com/JuliaLang/juliaup#installation), which performs this automatically.
|
134 |
2. Then, run:
|
135 |
```bash
|
136 |
-
|
137 |
```
|
138 |
3. Finally, to install Julia dependencies:
|
139 |
```bash
|
140 |
-
python3 -
|
141 |
```
|
|
|
142 |
|
143 |
---
|
144 |
|
@@ -150,7 +151,7 @@ The PySR build in conda includes all required dependencies, so you can install i
|
|
150 |
conda install -c conda-forge pysr
|
151 |
```
|
152 |
|
153 |
-
|
154 |
|
155 |
However, note that the conda install does not support precompilation of Julia libraries, so the
|
156 |
start time may be slightly slower as the JIT-compilation will be running.
|
|
|
133 |
- Alternatively, my personal preference is to use [juliaup](https://github.com/JuliaLang/juliaup#installation), which performs this automatically.
|
134 |
2. Then, run:
|
135 |
```bash
|
136 |
+
pip3 install -U pysr
|
137 |
```
|
138 |
3. Finally, to install Julia dependencies:
|
139 |
```bash
|
140 |
+
python3 -m pysr install
|
141 |
```
|
142 |
+
> (Alternatively, from within Python, you can call `import pysr; pysr.install()`)
|
143 |
|
144 |
---
|
145 |
|
|
|
151 |
conda install -c conda-forge pysr
|
152 |
```
|
153 |
|
154 |
+
from within your target conda environment.
|
155 |
|
156 |
However, note that the conda install does not support precompilation of Julia libraries, so the
|
157 |
start time may be slightly slower as the JIT-compilation will be running.
|