PySR / gui /install_pysr.sh
MilesCranmer's picture
Fix path to Julia
ee0ed3e unverified
raw
history blame
411 Bytes
import os
# Install Julia:
if [ ! -f "/home/user/.local/bin/julia" ]; then
wget https://raw.githubusercontent.com/abelsiqueira/jill/main/jill.sh
chmod a+x jill.sh
./jill.sh --version 1.8.2 -y
fi
# Need to install PySR in separate python instance:
if [ ! -d "/home/user/.julia/environments/pysr-0.11.9" ]; then
export PATH="$HOME/.local/bin:$PATH"
python -c 'import pysr; pysr.install()'
fi