| ... | ... | @@ -122,7 +122,9 @@ systemctl start JupyterLab.service |
|
|
|
systemctl status JupyterLab.service
|
|
|
|
```
|
|
|
|
|
|
|
|
## Spätere Installation weiterer Python-Bibliotheken
|
|
|
|
## Spätere Installation weiterer Python-Bibliotheken
|
|
|
|
|
|
|
|
### Neuinstallation
|
|
|
|
|
|
|
|
```
|
|
|
|
ssh root@a73435
|
| ... | ... | @@ -133,7 +135,46 @@ pip3 install xyz uvw abc |
|
|
|
deactivate
|
|
|
|
#
|
|
|
|
chown -R ipynb.ipynb /usr/local/share/JupyterLab
|
|
|
|
systemctl restart JupyterLab.service
|
|
|
|
systemctl restart JupyterLab.service
|
|
|
|
#
|
|
|
|
exit
|
|
|
|
```
|
|
|
|
|
|
|
|
### Update eines bereits installierten Paketes
|
|
|
|
|
|
|
|
```
|
|
|
|
ssh root@a73435
|
|
|
|
...
|
|
|
|
cd /usr/local/share/JupyterLab
|
|
|
|
source ./bin/activate
|
|
|
|
pip3 install <package_name> --upgrade
|
|
|
|
deactivate
|
|
|
|
#
|
|
|
|
chown -R ipynb.ipynb /usr/local/share/JupyterLab
|
|
|
|
systemctl restart JupyterLab.service
|
|
|
|
#
|
|
|
|
exit
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
### Update sämtlicher installierter Pakete einschließlich »Jupyter Lab« selbst
|
|
|
|
|
|
|
|
```
|
|
|
|
ssh root@a73435
|
|
|
|
...
|
|
|
|
cd /usr/local/share/JupyterLab
|
|
|
|
source ./bin/activate
|
|
|
|
for i in $(pip3 list -o | awk 'NR > 2 {print $1}'); do pip3 install --upgrade $i; done
|
|
|
|
deactivate
|
|
|
|
#
|
|
|
|
chown -R ipynb.ipynb /usr/local/share/JupyterLab
|
|
|
|
systemctl restart JupyterLab.service
|
|
|
|
#
|
|
|
|
exit
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|