Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • master
1 result

Target

Select target project
  • ckaufmann/install-python-tensorflow-gym
1 result
Select Git revision
  • master
1 result
Show changes
Commits on Source (2)
......@@ -82,32 +82,32 @@
\end{abstract}
\section{Mambaforge}
\section{Miniforge}
Zunächst installieren wir die Python-Distribution \textit{Mambaforge}. Dazu laden wir die Installationsdatei herunter und führen sie aus:
Zunächst installieren wir die Python-Distribution \textit{Miniforge}. Dazu laden wir die Installationsdatei herunter und führen sie aus:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\scriptsize]
wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh
bash Mambaforge-Linux-x86_64.sh
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
bash Miniforge3-Linux-x86_64.sh
\end{lstlisting}
Nun müssen wir mit \keyenter\ bestätigen, dass wir die Lizenzbedingungen lesen und können diese dann mit der Leertaste herunterscrollen um dann \texttt{yes} einzutippen und mit \keyenter\ den Lizenzbedingungen zustimmen:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize\color{gray}]
Do you accept the license terms? [yes|no]
[no] >>> #*\color{black}yes*
\end{lstlisting}
Als Installationspfad, können Sie den Standardpfad \lstinline|/home/<user>/mambaforge| verwenden oder, wenn Sie ihr Home-Verzeichnis etwas aufgeräumter lassen wollen, wählen Sie \lstinline|/home/<user>/.local/opt/mambaforge|, z.\,B.\ so für den Benutzer \textit{john}:
Als Installationspfad, können Sie den Standardpfad \lstinline|/home/<user>/miniforge| verwenden oder, wenn Sie ihr Home-Verzeichnis etwas aufgeräumter lassen wollen, wählen Sie \lstinline|/home/<user>/.local/opt/miniforge|, z.\,B.\ so für den Benutzer \textit{john}:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize\color{gray}]
Mambaforge will now be installed into this location:
/home/john/mambaforge
Miniforge will now be installed into this location:
/home/john/miniforge
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/john/mambaforge] >>> #*\color{black}/home/john/.local/opt/mambaforge*
[/home/john/miniforge] >>> #*\color{black}/home/john/.local/opt/miniforge*
\end{lstlisting}
Nach der Installation können Sie auswählen, dass die Conda-Umgebung automatisch aktiviert werden soll:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize\color{gray}]
Do you wish the installer to initialize Mambaforge
Do you wish the installer to initialize Miniforge
by running conda init? [yes|no]
[no] >>> #*\color{black}yes*
\end{lstlisting}
......@@ -132,7 +132,7 @@ Wir erstellen nun eine Umgebung namens \lstinline|ml| mit Python 3.10 und den be
jax-jumpy moviepy shimmy-atari gymnasium-box2d
\end{lstlisting}
Sie können die Umgebung jederzeit mit \lstinline|mamba activate ml| aktivieren und mit \lstinline|mamba deactivate| deaktivieren. Generell können Sie mit \lstinline|mamba create -n <MYENVNAME> <PAKETE>| auch weitere Umgebungen einrichten und diese mit \lstinline|mamba activate <MYENVNAME>| aktivieren.
Sie können die Umgebung jederzeit mit \lstinline|mamba activate ml| aktivieren und mit \lstinline|mamba deactivate| deaktivieren. Generell können Sie mit \lstinline|mamba create -n <ENVNAME> <PAKETE>| auch weitere Umgebungen einrichten und diese mit \lstinline|mamba activate <ENVNAME>| aktivieren.
Installieren Sie nun in der Umgebung \lstinline|ml| noch Pakete, die es (noch) nicht in conda-forge gibt, sondern nur in PyPI. Hierdurch können allerdings Probleme in Ihrer Umgebung entstehen.
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
......@@ -161,7 +161,7 @@ Installieren Sie auch \lstinline|ptxas| über das nvidia-Repository um eine Warn
mamba activate ml #*\color{cyan}\# \itshape sicherstellen, dass Sie in der 'ml' Umgebung sind*
mamba install --no-deps -c nvidia -c conda-forge tensorflow-gpu=2.10 cuda-nvcc
\end{lstlisting}
Falls bei der Installation von \lstinline|cuda-nvcc| der Fehler \texttt{[Errno 2] No such file or directory: '/.../mambaforge/nvvm/bin'} auftritt, versuchen Sie \lstinline|/../mambaforge/nvvm| zu löschen -- möglicherweise ist dies ein verwaister symbolischer Link -- und \lstinline|cuda-nvcc| erneut zu installieren.
Falls bei der Installation von \lstinline|cuda-nvcc| der Fehler \texttt{[Errno 2] No such file or directory: '/.../miniforge/nvvm/bin'} auftritt, versuchen Sie \lstinline|/../miniforge/nvvm| zu löschen -- möglicherweise ist dies ein verwaister symbolischer Link -- und \lstinline|cuda-nvcc| erneut zu installieren.
\section{IDE}
......@@ -209,7 +209,7 @@ Starten Sie VS Code z.\,B.\ über die Kommandozeile mit:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
code
\end{lstlisting}
Speichern Sie das Testprogramm \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{Anhang}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{Web}) und klicken in VS Code auf Open Folder um das darüberliegende Verzeichnis zu öffnen. Öffnen Sie dann die Datei \texttt{mnistKeras.py}. Wie in der Abbildung dargestellt, installieren Sie die Python-Extension (Schritte 1–3) und wählen Sie den installierten Python-Interpreter (\lstinline|ml|) aus (Schritte 4–5). Falls Ihre Installation dort nicht auftaucht, wählen Sie bei \textit{Enter interpreter path...} den Installationspfad zur Binärdatei \lstinline|python| aus, also z.\,B.\ \texttt{\char`~/.local/opt/mambaforge/envs/ml/bin/python}. Klicken Sie anschließend mit der rechten Maustaste irgendwo in das Editor-Fenster (Schritt 6):
Speichern Sie das Testprogramm \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{Anhang}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{Web}) und klicken in VS Code auf Open Folder um das darüberliegende Verzeichnis zu öffnen. Öffnen Sie dann die Datei \texttt{mnistKeras.py}. Wie in der Abbildung dargestellt, installieren Sie die Python-Extension (Schritte 1–3) und wählen Sie den installierten Python-Interpreter (\lstinline|ml|) aus (Schritte 4–5). Falls Ihre Installation dort nicht auftaucht, wählen Sie bei \textit{Enter interpreter path...} den Installationspfad zur Binärdatei \lstinline|python| aus, also z.\,B.\ \texttt{\char`~/.local/opt/miniforge/envs/ml/bin/python}. Klicken Sie anschließend mit der rechten Maustaste irgendwo in das Editor-Fenster (Schritt 6):
\vspace{-1em}
\noindent
......
......@@ -101,9 +101,9 @@
\section{Mambaforge}
\section{Miniforge}
Zunächst installieren wir die Python-Distribution \textit{Mambaforge}. Dazu laden wir zunächst die \href{https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe}{Installationsdatei} herunter. Führen Sie die Datei aus und folgen dann den Anweisungen des Installers. Wir empfehlen die Standardeinstellung, dass Miniconda für den Benutzer installiert wird (\textit{Just Me}), außer der Pfad enthält aufgrund des Benutzernamens Leerzeichen. In diesem seltenen Fall empfehlen wir die Installation als Administrator (\textit{All Users}). Wenn die Installation abgeschlossen ist, kann das Fenster geschlossen werden. Wir machen weiter mit \lstinline|mamba| auf der Kommandozeile.
Zunächst installieren wir die Python-Distribution \textit{Miniforge}. Dazu laden wir zunächst die \href{https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe}{Installationsdatei} herunter. Führen Sie die Datei aus und folgen dann den Anweisungen des Installers. Wir empfehlen die Standardeinstellung, dass Miniconda für den Benutzer installiert wird (\textit{Just Me}), außer der Pfad enthält aufgrund des Benutzernamens Leerzeichen. In diesem seltenen Fall empfehlen wir die Installation als Administrator (\textit{All Users}). Wenn die Installation abgeschlossen ist, kann das Fenster geschlossen werden. Wir machen weiter mit \lstinline|mamba| auf der Kommandozeile.
\medskip
\noindent
......@@ -148,7 +148,7 @@ Falls Sie eine NVIDIA GPU haben und den Support dafür aktivieren wollen, instal
\end{lstlisting}
und fügen auch den Pfad zu den entsprechenden Libraries (z.\,B.\ \textit{cudnn64\_8.dll}) in ihrer Benutzerumgebungsvariable \lstinline|Path| hinzu, besipielhaft:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
C:\Users\john\mambaforge\envs\ml\Library\bin
C:\Users\john\miniforge\envs\ml\Library\bin
\end{lstlisting}
......@@ -193,7 +193,7 @@ VS Code wird unabhängig von Mamba installiert und man wählt nachträglich die
Laden Sie es \href{https://code.visualstudio.com/docs/?dv=win64user}{hier} herunter und installieren es. Anschließend öffnen Sie VS Code. In VS Code drücken Sie \keystroke{Ctrl}+\keyshift+\keystroke P, suchen Sie die Einstellung \textit{Terminal: Select Default Profile} und wählen Sie \textit{Command Prompt}.
Speichern Sie das Testprogramm \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{Anhang}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{Web}) und klicken in VS Code auf Open Folder um das darüberliegende Verzeichnis zu öffnen. Öffnen Sie dann die Datei \texttt{mnistKeras.py}. Installieren Sie die Python-Extension (Schritte 1–3) und wählen Sie den installierten Python-Interpreter (\lstinline|ml|) aus (Schritte 4–5). Falls Ihre Installation dort nicht auftaucht, wählen Sie bei \textit{Enter interpreter path...} den Installationspfad zur Binärdatei \lstinline|python| aus, also z.\,B.\ \verb|~\mambaforge\envs\ml\python.exe|. Klicken Sie anschließend mit der rechten Maustaste irgendwo in das Editor-Fenster:
Speichern Sie das Testprogramm \texttt{mnistKeras.py} (\textattachfile{attachments/mnistKeras.py}{Anhang}|\href{https://gitlab.cvh-server.de/ckaufmann/install-python-tensorflow-gym/-/raw/master/attachments/mnistKeras.py?inline=false}{Web}) und klicken in VS Code auf Open Folder um das darüberliegende Verzeichnis zu öffnen. Öffnen Sie dann die Datei \texttt{mnistKeras.py}. Installieren Sie die Python-Extension (Schritte 1–3) und wählen Sie den installierten Python-Interpreter (\lstinline|ml|) aus (Schritte 4–5). Falls Ihre Installation dort nicht auftaucht, wählen Sie bei \textit{Enter interpreter path...} den Installationspfad zur Binärdatei \lstinline|python| aus, also z.\,B.\ \verb|~\miniforge\envs\ml\python.exe|. Klicken Sie anschließend mit der rechten Maustaste irgendwo in das Editor-Fenster:
\vspace{-1em}
\noindent
......
images/mambaforge-start-menu-spyder-base.png

40.6 KiB | W: 0px | H: 0px

images/mambaforge-start-menu-spyder-base.png

43.9 KiB | W: 0px | H: 0px

images/mambaforge-start-menu-spyder-base.png
images/mambaforge-start-menu-spyder-base.png
images/mambaforge-start-menu-spyder-base.png
images/mambaforge-start-menu-spyder-base.png
  • 2-up
  • Swipe
  • Onion skin
images/mambaforge-start-menu-spyder-ml.png

44.9 KiB | W: 0px | H: 0px

images/mambaforge-start-menu-spyder-ml.png

47.6 KiB | W: 0px | H: 0px

images/mambaforge-start-menu-spyder-ml.png
images/mambaforge-start-menu-spyder-ml.png
images/mambaforge-start-menu-spyder-ml.png
images/mambaforge-start-menu-spyder-ml.png
  • 2-up
  • Swipe
  • Onion skin
images/mambaforge-start-menu-spyder-weai.png

45.3 KiB

images/mambaforge-start-menu-spyder.png

38.4 KiB

......@@ -51,7 +51,7 @@
\usepackage[colorlinks=true,urlcolor=blue,unicode=true,pdfusetitle]{hyperref}
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Mambaforge for Linux}
\title{Installation of Python via Miniforge for Linux}
\date{May 2023}
\author{Christof Kaufmann}
......@@ -77,36 +77,36 @@
% \end{abstract}
\section{Mambaforge}
\section{Miniforge}
First, we install \textit{Mambaforge}. It is a package manager for conda packages and by default set up to use the \texttt{conda-forge} repository. Download the installation script:
First, we install \textit{Miniforge}. It is a package manager for conda packages and by default set up to use the \texttt{conda-forge} repository. Download the installation script:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\scriptsize]
wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
\end{lstlisting}
Execute the script using bash:
\begin{lstlisting}[gobble=2]
bash Mambaforge-Linux-x86_64.sh
bash Miniforge3-Linux-x86_64.sh
\end{lstlisting}
Confirm that you will review the license with \keyenter, then scroll down using \keystroke{~~~~SPACE~~~~} and finally confirm it by typing \texttt{yes} and pressing \keyenter:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\color{gray}]
Do you accept the license terms? [yes|no]
[no] >>> #*\color{black}yes*
\end{lstlisting}
You can leave the default installation path \lstinline|/home/<user>/mambaforge| or, to have the home folder more tidy, use \lstinline|/home/<user>/.local/opt/mambaforge|, e.\,g.\ for the user \textit{john}:
You can leave the default installation path \lstinline|/home/<user>/miniforge| or, to have the home folder more tidy, use \lstinline|/home/<user>/.local/opt/miniforge|, e.\,g.\ for the user \textit{john}:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\color{gray}]
Mambaforge will now be installed into this location:
/home/john/mambaforge
Miniforge will now be installed into this location:
/home/john/miniforge
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/john/mambaforge] >>> #*\color{black}/home/john/.local/opt/mambaforge*
[/home/john/miniforge] >>> #*\color{black}/home/john/.local/opt/miniforge*
\end{lstlisting}
At the end of the installation you can choose to activate the default environment automatically
Nach der Installation können Sie auswählen, dass die Conda-Umgebung automatisch aktiviert werden soll:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\color{gray}]
Do you wish the installer to initialize Mambaforge
Do you wish the installer to initialize Miniforge
by running conda init? [yes|no]
[no] >>> #*\color{black}yes*
\end{lstlisting}
......
......@@ -50,7 +50,7 @@
\usepackage[colorlinks=true,urlcolor=blue,unicode=true,pdfusetitle]{hyperref}
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Mambaforge for Linux}
\title{Installation of Python via Miniforge for Linux}
\date{May 2023}
\author{Christof Kaufmann}
......@@ -76,36 +76,36 @@
% \end{abstract}
\section{Mambaforge}
\section{Miniforge}
First, we install \textit{Mambaforge}. It is a package manager for conda packages and by default set up to use the \texttt{conda-forge} repository. Download the installation script:
First, we install \textit{Miniforge}. It is a package manager for conda packages and by default set up to use the \texttt{conda-forge} repository. Download the installation script:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\scriptsize]
wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
\end{lstlisting}
Execute the script using bash:
\begin{lstlisting}[gobble=2]
bash Mambaforge-Linux-x86_64.sh
bash Miniforge3-Linux-x86_64.sh
\end{lstlisting}
Confirm that you will review the license with \keyenter, then scroll down using \keystroke{~~~~SPACE~~~~} and finally confirm it by typing \texttt{yes} and pressing \keyenter:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\color{gray}]
Do you accept the license terms? [yes|no]
[no] >>> #*\color{black}yes*
\end{lstlisting}
You can leave the default installation path \lstinline|/home/<user>/mambaforge| or, to have the home folder more tidy, use \lstinline|/home/<user>/.local/opt/mambaforge|, e.\,g.\ for the user \textit{john}:
You can leave the default installation path \lstinline|/home/<user>/miniforge| or, to have the home folder more tidy, use \lstinline|/home/<user>/.local/opt/miniforge|, e.\,g.\ for the user \textit{john}:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\color{gray}]
Mambaforge will now be installed into this location:
/home/john/mambaforge
Miniforge will now be installed into this location:
/home/john/miniforge
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/john/mambaforge] >>> #*\color{black}/home/john/.local/opt/mambaforge*
[/home/john/miniforge] >>> #*\color{black}/home/john/.local/opt/miniforge*
\end{lstlisting}
At the end of the installation you can choose to activate the default environment automatically
Nach der Installation können Sie auswählen, dass die Conda-Umgebung automatisch aktiviert werden soll:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\color{gray}]
Do you wish the installer to initialize Mambaforge
Do you wish the installer to initialize Miniforge
by running conda init? [yes|no]
[no] >>> #*\color{black}yes*
\end{lstlisting}
......
......@@ -51,7 +51,7 @@
\usepackage[colorlinks=true,urlcolor=blue,unicode=true,pdfusetitle]{hyperref}
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Mambaforge for Windows}
\title{Installation of Python via Miniforge for Windows}
\date{May 2023}
\author{Christof Kaufmann}
......@@ -76,11 +76,11 @@
\section{Mambaforge}
\section{Miniforge}
First, we install \textit{Mambaforge}. It is a package manager for conda packages and by default set up to use the \texttt{conda-forge} repository. Download the installer from here
\url{https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe}
and install Mambaforge. We recommend to leave the default settings especially to install Miniforge just for your user (\textit{Just Me}). This does not require admin rights. When the installation has finished, close the window and continue on command line.
First, we install \textit{Miniforge}. It is a package manager for conda packages and by default set up to use the \texttt{conda-forge} repository. Download the installer from here
\url{https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe}
and install Miniforge. We recommend to leave the default settings especially to install Miniforge just for your user (\textit{Just Me}). This does not require admin rights. When the installation has finished, close the window and continue on command line.
\smallskip
\noindent
......@@ -114,7 +114,7 @@ You will get a list of packages and can confirm with \keyenter. Installation tak
\section{Test}
\begin{minipage}{0.6\linewidth}
Next, we start Spyder from the start menu. The entry is at \textit{Mambaforge} $\rightarrow$ \textit{Spyder}.
Next, we start Spyder from the start menu. The entry is at \textit{Miniforge} $\rightarrow$ \textit{Spyder}.
\end{minipage}%
\hfill%
\begin{minipage}{0.37\linewidth}
......
......@@ -50,7 +50,7 @@
\usepackage[colorlinks=true,urlcolor=blue,unicode=true,pdfusetitle]{hyperref}
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Mambaforge for Windows}
\title{Installation of Python via Miniforge for Windows}
\date{May 2023}
\author{Christof Kaufmann}
......@@ -75,11 +75,11 @@
\section{Mambaforge}
\section{Miniforge}
First, we install \textit{Mambaforge}. It is a package manager for conda packages and by default set up to use the \texttt{conda-forge} repository. Download the installer from here
\url{https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe}
and install Mambaforge. We recommend to leave the default settings especially to install Miniforge just for your user (\textit{Just Me}). This does not require admin rights. When the installation has finished, close the window and continue on command line.
First, we install \textit{Miniforge}. It is a package manager for conda packages and by default set up to use the \texttt{conda-forge} repository. Download the installer from here
\url{https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe}
and install Miniforge. We recommend to leave the default settings especially to install Miniforge just for your user (\textit{Just Me}). This does not require admin rights. When the installation has finished, close the window and continue on command line.
\smallskip
\noindent
......@@ -120,7 +120,7 @@ If you have an NVIDIA GPU and want to activate support for it, install the follo
\end{lstlisting}
and optionally (not required for Spyder) also add the path to the corresponding libraries (e.\,g.\ \textit{cudnn64\_8.dll}) in your user environment variable \lstinline|Path|, for example:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
C:\Users\john\mambaforge\envs\ml\Library\bin
C:\Users\john\miniforge\envs\ml\Library\bin
\end{lstlisting}
......@@ -134,7 +134,7 @@ and optionally (not required for Spyder) also add the path to the corresponding
\hfill%
\begin{minipage}{0.37\linewidth}
\vspace{-3em}
\includegraphics[width=\linewidth]{images/mambaforge-start-menu-spyder}
\includegraphics[width=\linewidth]{images/mambaforge-start-menu-spyder-weai}
\end{minipage}%
\noindent
......
......@@ -50,7 +50,7 @@
\usepackage[colorlinks=true,urlcolor=blue,unicode=true,pdfusetitle]{hyperref}
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Mambaforge for Windows}
\title{Installation of Python via Miniforge for Windows}
\date{September 2023}
\author{Christof Kaufmann}
......@@ -75,13 +75,13 @@
\noindent
\textit{Note: If you already have installed Python before, it might work for this course. You can skip to Section~\ref{sec:test} to test your installation using the attached test script. If it is not working, but it is based on conda (Anaconda, Miniconda, Miniforge, Mambaforge), you might skip to Section~\ref{sec:packages}, but add a \lstinline|--channel conda-forge| to the \lstinline|mamba create| and \lstinline|mamba install| commands. If it is not based on conda (plain Python) and you want to keep it, you could also install Mambaforge parallel to your installation. Usually it does not interfere with existing installations.}
\textit{Note: If you already have installed Python before, it might work for this course. You can skip to Section~\ref{sec:test} to test your installation using the attached test script. If it is not working, but it is based on conda (Anaconda, Miniconda, Miniforge, Miniforge), you might skip to Section~\ref{sec:packages}, but add a \lstinline|--channel conda-forge| to the \lstinline|mamba create| and \lstinline|mamba install| commands. If it is not based on conda (plain Python) and you want to keep it, you could also install Miniforge parallel to your installation. Usually it does not interfere with existing installations.}
\section{Mambaforge}
\section{Miniforge}
First, we install \textit{Mambaforge}. It is a package manager for conda packages and by default set up to use the \texttt{conda-forge} repository. Download the installer from here
\url{https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Windows-x86_64.exe}
and install Mambaforge. We recommend to leave the default settings especially to install Miniforge just for your user (\textit{Just Me}). This does not require admin rights. When the installation has finished, close the window and continue on command line.
First, we install \textit{Miniforge}. It is a package manager for conda packages and by default set up to use the \texttt{conda-forge} repository. Download the installer from here
\url{https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Windows-x86_64.exe}
and install Miniforge. We recommend to leave the default settings especially to install Miniforge just for your user (\textit{Just Me}). This does not require admin rights. When the installation has finished, close the window and continue on command line.
\smallskip
\noindent
......@@ -133,7 +133,7 @@ If you need to install further packages later on, you might have to switch it of
\hfill%
\begin{minipage}{0.37\linewidth}
\vspace{-3em}
\includegraphics[width=\linewidth]{images/mambaforge-start-menu-spyder}
\includegraphics[width=\linewidth]{images/mambaforge-start-menu-spyder-weai}
\end{minipage}%
\noindent
......