This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
working_with_python [2020/12/22 14:06] โ jansen | working_with_python [2023/11/06 13:12] (current) โ [Jupyter Notebooks] jansen | ||
---|---|---|---|
Line 189: | Line 189: | ||
In this example we create a python2 virtual environment in which we will install the latest version of numpy that will use the openBLAS library. | In this example we create a python2 virtual environment in which we will install the latest version of numpy that will use the openBLAS library. | ||
- | :!: The procedure and paths below will work on any maris node and on the para cluster. | + | :!: The procedure and paths below will work on any maris node. |
<code bash> | <code bash> | ||
Line 269: | Line 269: | ||
====== Jupyter Notebooks ====== | ====== Jupyter Notebooks ====== | ||
Depending on your operating system (Fedora or RedHat) you might get a different python kernel version as the standard kernel. If you get '' | Depending on your operating system (Fedora or RedHat) you might get a different python kernel version as the standard kernel. If you get '' | ||
- | python3 -m ipykernel install | + | python3 -m ipykernel install |
Once this command has run successfully, | Once this command has run successfully, | ||
After starting '' | After starting '' | ||
+ | |||
+ | If you need to work with several python setups (e.g. the system python3, but also from loaded environment modules), it is easy to assign a name to the generated kernel, e.g: | ||
+ | python3 -m ipykernel install --user --name system-python3 | ||
+ | |||
+ |