Before You Start #
- You must have a Pachyderm cluster running.
- Install Jupyter Lab (
pip install jupyterlab
) - Install FUSE
⚠️
Local installation of FUSE requires a reboot to access your Startup Security Utility and enable kernel extensions (kexts) after you have downloaded all of the necessary pre-requisites.
- Install jupyterlab pachyderm (
pip install jupyterlab-pachyderm
) - Download mount-server binary
Local Installation Steps #
- Open your terminal.
- Navigate to your downloads folder.
- Copy the
mount-server
binary you downloaded from the pre-requisites into a folder included within your$PATH
so that yourjupyterlab-pachyderm
extension can find it:sudo cp mount-server /usr/local/bin
- Open your
zshrc
profile:vim ~/.zshrc
- Create a
/pfs
directory to mount your data to. This is the default directory used; alternatively, you can define an empty output folder that PFS should mount by addingexport PFS_MOUNT_DIR=/<directory>/<path>
to your bash/zshrc profile. - Update the source by restarting your computer or executing the following command:
source ~/.zshrc
- Run
jupyter lab
.
If you have an existing pachyderm config file at ~/.pachyderm/config.json
, the extension automatically connects to the active context. Otherwise, you must enter the cluster address manually in the extension UI.