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
| #Method 1 | |
| pipenv install ipykernel jupyter | |
| pipenv shell | |
| python -m ipykernel install --user --name=my-virtualenv-name | |
| jupyter notebook | |
| #Method 2 | |
| pipenv shell |
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
| # Generates config C:\Users\$USER_NAME$\.jupyter\jupyter_notebook_config.json | |
| jupyter notebook --generate-config | |
| # Uncomment this line and add a path to chrome.exe | |
| c.NotebookApp.browser = u'C:/Home/AppData/Local/Google/Chrome/Application/chrome.exe %s' |
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
| mkdir <folder_name> | |
| cd <folder_name> | |
| pipenv install <package_name> # Installs <package_name> into environment | |
| pipenv lock -r requirements.txt # Freezes requirements | |
| pipenv shell # Activates virtual environment | |
| python # Starts interactive python |