Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cristiano74/6c2b8fb696f097497440e6198d473011 to your computer and use it in GitHub Desktop.
Save cristiano74/6c2b8fb696f097497440e6198d473011 to your computer and use it in GitHub Desktop.
jupiter notebook tips/Install a pip package in the current Jupyter kernel.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "#https://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/\n\n",
"execution_count": null,
"outputs": []
}
],
"metadata": {
"kernelspec": {
"name": "python3",
"display_name": "Python 3",
"language": "python"
},
"language_info": {
"name": "python",
"version": "3.6.3",
"mimetype": "text/x-python",
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"pygments_lexer": "ipython3",
"nbconvert_exporter": "python",
"file_extension": ".py"
},
"varInspector": {
"window_display": true,
"cols": {
"lenName": 16,
"lenType": 16,
"lenVar": 40
},
"kernels_config": {
"python": {
"library": "var_list.py",
"delete_cmd_prefix": "del ",
"delete_cmd_postfix": "",
"varRefreshCmd": "print(var_dic_list())"
},
"r": {
"library": "var_list.r",
"delete_cmd_prefix": "rm(",
"delete_cmd_postfix": ") ",
"varRefreshCmd": "cat(var_dic_list()) "
}
},
"types_to_exclude": [
"module",
"function",
"builtin_function_or_method",
"instance",
"_Feature"
]
},
"gist": {
"id": "057682663c2edd7fccfdc75cd950803f",
"data": {
"description": "jupiter notebook tips/Install a pip package in the current Jupyter kernel.ipynb",
"public": true
}
},
"_draft": {
"nbviewer_url": "https://gist.github.com/057682663c2edd7fccfdc75cd950803f"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment