HTCondor Python Bindings Tutorials
If Binder is not working for some reason, please let us know. You can also try some of the alternate ways to access the tutorials listed below.
If you are a maintainer, see the
MAINTENANCE.md file for instructions.
Other Ways to Access the Tutorials
If Binder isn't working, there are a few other ways to get the tutorials.
Run in a Docker Container (From DockerHub)
You can run the same Docker container used by Binder locally by running
docker run -it --rm -p 8888:8888 htcondor/python-bindings-tutorials:latest
After Docker pulls the image and starts it, you should see something like
[C 14:21:29.540 NotebookApp] To access the notebook, open this file in a browser: file:///home/jovyan/.local/share/jupyter/runtime/nbserver-6-open.html Or copy and paste one of these URLs: http://42c775a17c65:8888/?token=0cd84e557c1b497e971461df1e28309fa045a5086a05c344 or http://127.0.0.1:8888/?token=0cd84e557c1b497e971461df1e28309fa045a5086a05c344
Paste one of the URL options into your web browser and you'll be in a Jupyter Lab
(the file method will not work, you must use one of the links).
Use the file browser on the left side of the Lab interface to open
Run in a Docker Container (From a Local Repository)
The Docker container that runs on Binder is defined by
You can run this container locally.
Clone the repository:
$ git clone https://github.com/htcondor/htcondor-python-bindings-tutorials
run.sh script (or
run.cmd on Windows), which builds and runs the Docker image and container:
You'll see the output of the Docker image build, then the container will spin up and you'll see a message like above.
Use it to connect to the Jupyter Lab and open
Run on Bare Metal
Install your preferred version of HTCondor on your computer (https://research.cs.wisc.edu/htcondor/downloads/).
Clone the repository as above.
Install JupyterLab and the matching version of the Python bindings into your Python using
$ pip install jupyterlab htcondor==<x.y>
<x.y> is something like
Run JupyterLab from the repository root:
$ jupyter lab
and use your web browser to access the Jupyter Lab and open
index.ipynb as above.