Skip to content

Instantly share code, notes, and snippets.

@geraldgong
Last active May 25, 2020 17:57
Show Gist options
  • Save geraldgong/5d3eb822a45527fc4e0de7ff8ed8b2ef to your computer and use it in GitHub Desktop.
Save geraldgong/5d3eb822a45527fc4e0de7ff8ed8b2ef to your computer and use it in GitHub Desktop.
register to Jupyter
.PHONY: add-to-jupyter
add-to-jupyter: ## Register the conda environment to Jupyter
$(ACTIVATE_ENV) && python -s -m ipykernel install --user --name $(CONDA_ENV_NAME)
.PHONY: remove-from-jupyter
remove-from-jupyter: ## Remove the conda environment from Jupyter
jupyter kernelspec uninstall $(CONDA_ENV_NAME)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment