User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
technical:python [2020/07/03 04:17] – created chunchungtechnical:python [2026/01/26 13:45] (current) – [Python with jupyter-lab] chunchung
Line 1: Line 1:
 ======Python with jupyter-lab====== ======Python with jupyter-lab======
 +Add the conda-forge channel by running:
 +<code bash>
 +conda config --add channels conda-forge
 +</code>
 +Then, install jupyterlab:
 <code bash> <code bash>
-conda install notebook 
-conda install matplotlib 
 conda install jupyterlab conda install jupyterlab
-conda install -c conda-forge jupyter_contrib_nbextensions jupyter_nbextensions_configurator+</code> 
 +Useful packages: 
 +<code bash> 
 +conda install jupyter-ruff
 </code> </code>
  
-=====Python 3.8=====+ 
 +=====Create environment for different python version===== 
 +* This uses version 3.8 as example. However, python 3.8 is now available from Anaconda
 <code bash> <code bash>
 conda update -n base -c defaults conda conda update -n base -c defaults conda
 conda create -n python38 python=3.8 conda create -n python38 python=3.8
 conda activate python38 conda activate python38
 +</code>
 +=====HDF5 and c++=====
 +<code bash>
 +conda install hdf5
 +conda install gxx_linux-64
 </code> </code>

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information