Skip to content

Instantly share code, notes, and snippets.

@tingjhenjiang
Created January 22, 2022 17:51
Show Gist options
  • Save tingjhenjiang/c3e85d4cb62f482cb8b51ce055724d0c to your computer and use it in GitHub Desktop.
Save tingjhenjiang/c3e85d4cb62f482cb8b51ce055724d0c to your computer and use it in GitHub Desktop.
create a new jupyter kernel in a azure machine learning compute instance
/anaconda/bin/conda create --prefix /anaconda/envs/python39 python=3.9 pip ipykernel ipywidgets requests pandas numpy scikit-learn scipy matplotlib pydot git graphviz transformers dask pathos fsspec faiss kaggle nltk -y -c conda-forge
/anaconda/bin/conda env list
/anaconda/envs/python39/bin/python -m ipykernel install --name python39 --display-name "Python (data science default)" --prefix=/anaconda/envs/azureml_py36/
/anaconda/envs/python39/bin/pip install azureml-core tensorflow pytorch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment