Last active
May 25, 2020 17:57
-
-
Save geraldgong/5d3eb822a45527fc4e0de7ff8ed8b2ef to your computer and use it in GitHub Desktop.
register to Jupyter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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