jupyter install/config

jupyter
server 2020-02-21 21:02:33 -07:00
parent 3f4b4ae717
commit c7b69b0175
1 changed files with 37 additions and 0 deletions

View File

@ -70,3 +70,40 @@ pip3 install tensorflow
# Run application
python3 karoo_gp.py
```
# Jupyter Install
To install everything for jupyter, not in virt env... Thusly:
```
# Install Dependencies:
sudo apt install python3 python3-pip
# Clone repo (choose this one or upstream):
git clone https://spacecruft.org/spacecruft/karoo_gp
# Setup
cd karoo_gp
git checkout jupyter
pip3 install --user --upgrade pip
pip3 install --user --upgrade setuptools
# Install python dependencies
pip3 install --user wheel
pip3 install --user sklearn sympy
# This will install Tensorflow 2.1:
pip3 install --user tensorflow
```
# Run Jupyter
Copy the `foo` to an appropriate place. Run similar to this:
```
jupyter-lab \
--config=/home/jebba/.jupyter/jupyter_karoo_gp_config.py \
--debug \
--notebook-dir=/home/jebba/devel/spacecruft/karoo_gp \
--app-dir=/home/jebba/.local/share/jupyter/lab \
1>>/home/jebba/log/karoo.log 2>>/home/jebba/log/karoo.err &
```