current state Tue Mar 25 12:24:12 WEST 2025
This commit is contained in:
parent
294c82ead0
commit
84a9f1baa0
5 changed files with 11989 additions and 168 deletions
21
setup-venv.sh
Normal file
21
setup-venv.sh
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Creates and sets up your Python 3.10 venv
|
||||
python3.10 -m venv venv310
|
||||
source venv310/bin/activate
|
||||
|
||||
# Install Python packages
|
||||
pip install --upgrade pip
|
||||
pip install \
|
||||
numpy \
|
||||
matplotlib \
|
||||
ipympl \
|
||||
jupyterlab \
|
||||
jupyterlab-widgets \
|
||||
ipykernel
|
||||
|
||||
# Register venv310 as Jupyter kernel
|
||||
python -m ipykernel install --user --name=venv310 --display-name="Python 3.10 (venv310)"
|
||||
|
||||
echo "Setup complete! Activate with: source venv310/bin/activate"
|
||||
echo "Then start JupyterLab with: jupyter lab --ip=0.0.0.0 --port=8888 --allow-root"
|
Loading…
Add table
Add a link
Reference in a new issue