Miniconda and Jupyter Lab

Basic install

** ports might change, easy to check with a local computer: open cmd, ping <url>

  • Open Ports Anaconda

    • 104.31.70.166: docs.conda.io

    • 104.16.131.3: repo.anaconda.com

    • 104.17.93.24: conda.anaconda.org

  • Install Miniconda

    • download from: docs.conda.io/en/latest/miniconda.html

    • Install as admin

  • Install JupyterLab

    • Open conda prompt in admin mode

    • conda install -c conda-forge jupyterlab

      • optionally: conda install -c conda-forge jupyterlab=3


Optional

This allows any user to quickly start Jupyter Labs from the desktop. All Jupyter Lab Notebooks are automatically created (and thus backuped as well) on the Z:-drive.

  • Create a folder on the Z:\Jupyter Labs

    • This is at the cost of a bit of performance for the Z-drive is not as fast ast the C-drive. Alternatively create a folder on the C:-drive and change after putting the shortcut on the desktop in the properties of the shortcut the target and start-in

  • Download python.zip and upload it to the Workspace

  • Extract the zip

    • Put the shortcut in: c:\users\public\desktop (just type desktop behind public)

    • Put the icon in %ALLUSERSPROFILE%\Miniconda3\Menu\


Usefull commands / packages

  • Open conda prompt in admin mode

  • Updates

    • conda update -c conda-forge jupyterlab

    • conda update -c conda-forge --all

    • Python: conda update -c conda-forge python

  • Interesting packages

    • Tabulate: conda install -c conda-forge tabulate

    • OpenPyXL: conda install -c conda-forge openpyxl

    • numpy: conda install -c conda-forge numpy

    • pandas: conda install -c conda-forge pandas

    • matplotlib: conda install -c conda-forge matplotlib

    • seaborn: conda install -c conda-forge seaborn

    • Castor: conda install -c conda-forge castorapi