Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
GCP: Symlink is needed for install after venv create
  • Loading branch information
tmiddelkoop committed May 20, 2022
1 parent c57d21b commit c2783ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/jupyter-lab.sh
Expand Up @@ -8,7 +8,9 @@ echo "=== jupyterlab.sh Install and run JupyterLab locally"

echo "+++ installing jupyter"
python3 -m venv .venv
. .venv/bin/activate --system-site-packages
. .venv/bin/activate

ln -sfv /usr/lib/python3/dist-packages .venv/lib/python3.*/ # simulate VM behavior for apt-get install python3-rasterio

python3 -m pip install pip --upgrade
python3 -m pip install --upgrade jupyterlab
Expand Down

0 comments on commit c2783ad

Please sign in to comment.