Python: Gerenciando kernels ipython + poetry

Criar ipyKernel

  
# Esta parte roda somente uma vez!
$ poetry run ipython kernel install --user --name=project-poetry-demo  
or
poetry run ipython kernel install --user --name=saj_projects --display-name "Python3.9(saj_projects)"
# or
ipython kernel install --name "project-poetry-demo" --user

Listar ipyKernel

  poetry run ipython kernelspec list; 
  
  # or
  ipython kernelspec list

Remover ipyKernel

  poetry run ipython kernelspec uninstall project-poetry-demo
  
  #or
  ipython kernelspec uninstall project-poetry-demo
  • 2021.04.05@16:58

Comentários