Last active
December 28, 2021 02:48
-
-
Save jj-github-jj/306843edb3317d8dececf46b8ea7d3ae to your computer and use it in GitHub Desktop.
jupyter environment copy installed modules to another system
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
| !jupyter --data-dir | |
| #!pip install datamodel-code-generator | |
| !pip install pandasgui | |
| !pip install quantiphy | |
| !pip install plotly.express | |
| !pip install scikit-rf | |
| !pip install nptdms | |
| !pip install cufflinks | |
| #stop at a cell | |
| raise SystemExit("Stop right there!") | |
| import IPython | |
| IPython.version_info | |
| !pip install qgrid | |
| jupyter nbextension enable --py --sys-prefix qgrid | |
| !pip install qgrid | |
| jupyter nbextension enable --py --sys-prefix qgrid | |
| #copying required installed module to another system | |
| !pip freeze > installed_modules.txt | |
| #on | |
| !pip install -r installed_modules.txt | |
| #current ipynb file name using | |
| #!pip install ipynbname | |
| import ipynbname | |
| nb_fname = ipynbname.name() | |
| nb_fname+'.ipynb' | |
| nb_path=ipynbname.path() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment