| Next revision | Previous revision |
| python [2021/06/04 13:20] – created 192.168.1.41 | python [2021/07/27 11:39] (current) – [pip] 192.168.1.44 |
|---|
| (pandas) C:\Programs\Anaconda3> | (pandas) C:\Programs\Anaconda3> |
| </code> | </code> |
| | |
| | ===== Jupyter Notebook management ===== |
| | ==== List running servers ===== |
| | <code> |
| | (pandas) C:\Programs\Anaconda3>jupyter notebook list |
| | Currently running servers: |
| | http://localhost:8889/?token=ec7bfa8cdd33bdb2339d505d0f956e5175b7ea31995f5769 :: C:\Users\Varimathras |
| | http://localhost:8888/?token=fe1b243313ef4c94cedbfaee91b0d908fcca66bfc2dedf38 :: C:\Users\Varimathras |
| | http://localhost:8888/?token=71b917caea5bf589ea102fc14415ccf194880285548fdee4 :: C:\Users\Varimathras |
| | http://localhost:8888/?token=8ab90d99ea01e3a9da919a06266c1c25feca46b3fd93f9d5 :: C:\Users\Varimathras |
| | http://localhost:8891/?token=b66dbe929c7f218a44d2ed6d5426f97cbfd464ab5d3b6e50 :: C:\Users\Varimathras |
| | http://localhost:8888/?token=0291c188d5c2c7f58e78e6e772bfbc083d19e680c83599e2 :: C:\Users\Varimathras |
| | http://localhost:8890/?token=908c862bca6c454d7b38d465723c97a073d6ef75987204c9 :: C:\Users\Varimathras |
| | </code> |
| | |
| | ==== Stop running servers ==== |
| | </code> |
| | (pandas) C:\Programs\Anaconda3>jupyter notebook stop 8889 |
| | Shutting down server on 8889... |
| | </code> |
| | |
| | ==== List Paths ==== |
| | <code> |
| | (pandas) C:\Programs\Anaconda3>jupyter --paths |
| | config: |
| | C:\Users\Varimathras\.jupyter |
| | C:\Programs\Anaconda3\envs\pandas\etc\jupyter |
| | C:\ProgramData\jupyter |
| | data: |
| | C:\Users\Varimathras\AppData\Roaming\jupyter |
| | C:\Programs\Anaconda3\envs\pandas\share\jupyter |
| | C:\ProgramData\jupyter |
| | runtime: |
| | C:\Users\Varimathras\AppData\Roaming\jupyter\runtime |
| | </code> |
| | |
| | ===== pip ===== |
| | Update All Python Packages On Windows (PowerShell) |
| | <code> |
| | pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_} |
| | </code> |
| | |
| | <code> |
| | pip freeze | %{$_.split('==')[0]} | %{pipwin install --upgrade $_} |
| | </code> |
| | |
| | ===== References ===== |
| | * How to activate an Anaconda environment - https://stackoverflow.com/questions/20081338/how-to-activate-an-anaconda-environment |
| | * how to close running jupyter notebook servers? #2844 - https://github.com/jupyter/notebook/issues/2844 |
| | * How To Update All Python Packages - https://www.activestate.com/resources/quick-reads/how-to-update-all-python-packages/ |
| |