Differences

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

Link to this comparison view

Both sides previous revision Previous revision
habrok:examples:jupyter [2025/06/30 14:01] – old revision restored (2024/08/02 15:34) fokkehabrok:examples:jupyter [2025/07/04 06:18] (current) – old revision restored (2025/06/30 13:51) fokke
Line 32: Line 32:
 module load Python/3.11.5-GCCcore-13.2.0  module load Python/3.11.5-GCCcore-13.2.0 
 </code> </code>
 +If you don't need specific numerical Python package versions, consider loading the corresponding SciPy-bundle, which includes numpy, scipy and pandas. Be sure to select the module with the same Python version in the module name.
 +<code>
 +module load SciPy-bundle/2023.11-gfbf-2023b
 +</code>
 +If you need different versions of these packages you can ignore this step, or try a more recent Python/SciPy-bundle combination.
  
 After this you can create the virtual environment in a directory you select, e.g.: After this you can create the virtual environment in a directory you select, e.g.:
Line 71: Line 76:
  
 # Activate the virtual environment # Activate the virtual environment
-source ~/virtual_env/jupyter_tunnel/bin/activate+source ~/virtual_env/myenv/bin/activate
  
 # Start the jupyter server, using the hostname of the node as the way to connect to it # Start the jupyter server, using the hostname of the node as the way to connect to it