using_pip/s.sh

19 lines
461 B
Bash
Raw Normal View History

2025-10-20 03:23:45 +00:00
#!/bin/bash
if [ -d .venv ]; then
rm -rf .venv
fi
python3 -m venv .venv --upgrade-deps
export JUPYTERLAB_SETTINGS_DIR="${PWD}/.jupyter/lab/user-settings"
export JUPYTER_DATA_DIR="${PWD}/.jupyter/data"
export JUPYTER_CONFIG_DIR="${PWD}/.jupyter"
. .venv/bin/activate
pip install -r requirements.txt
# pip install --no-index --find-links ./.local-libraries tufte
# pip install --no-index --find-links ./.local-libraries clear-run-to-selected
jupyter lab