# Script block to identify host, user, and kernel
import sys
! hostname
! whoami
! pwd
print(sys.executable)
print(sys.version)
print(sys.version_info)
ip-172-26-4-2 compthink /home/compthink/engr-1330-webroot/8-Labs/Lab0 /opt/jupyterhub/bin/python3 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0] sys.version_info(major=3, minor=8, micro=5, releaselevel='final', serial=0)
%%html
<!-- Script Block to set tables to left alignment -->
<style>
table {margin-left: 0 !important;}
</style>
The laboratory and homeworks are to be accomplished using JupyterLab/iPython notebooks.
The recomended integrated development environment (IDE) is called Anaconda (www.anaconda.com).
The three primary means to get a working JupyterLab/iPython environment are shown below
The video https://youtu.be/xBfoK6jDpTw shows an install onto a Windows machine.
The video https://youtu.be/y26RCKWlv7M shows a step-by-step install onto a Macintosh (Catalina OS) machine.
The video https://youtu.be/s8CJKq2Rvgg shows a step-by-step install onto a Windows machine hosted on Amazon Web Services (cloud hosted).
If you have a machine that does not use the x86-64 chipset (so not an Intel or not AMD), then you have extra bonus problems. Compared to the above its a monumental pain. The notes below follow https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html
Here's what worked for me:
Configure the JupyterHub
"c.Spawner.default_url = '/lab'"
Edit the jupyterhub.service file just opened in nano
[Unit]\ Description=JupyterHub\ After=syslog.target network.target
[Service]\ User=root\ Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/jupyterhub/bin"\ ExecStart=/opt/jupyterhub/bin/jupyterhub -f /opt/jupyterhub/etc/jupyterhub/jupyterhub_config.py
[Install]\ WantedBy=multi-user.target
Link the service definition file to system;enable the service
enable https
Restart everything
If you like to tinker, you would have a functioning JupyterHub that you can share. The above also works for x86-64 linux builds; although if you are on x86-64, I would just use the anaconda for linux files.