diff --git a/anleitung_linux_openai-gym.tex b/anleitung_linux_openai-gym.tex index bc5807737f6a90f6692fe8e73a0402a1d11386e8..3b86376b8bd3d9cb0405caaef20961cbac275967 100644 --- a/anleitung_linux_openai-gym.tex +++ b/anleitung_linux_openai-gym.tex @@ -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 diff --git a/anleitung_windows_openai-gym.tex b/anleitung_windows_openai-gym.tex index fb864fb9f4084672111d18f81ec4f052ac0ea124..5adac5ab39d79f43d02812c8a8cd6105eefbe12c 100644 --- a/anleitung_windows_openai-gym.tex +++ b/anleitung_windows_openai-gym.tex @@ -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 diff --git a/images/mambaforge-start-menu-spyder-base.png b/images/mambaforge-start-menu-spyder-base.png index 11c0b486a870d6b8348968850347c10f2f89d67b..ed9732ae31ded728a4a62f334fb3bf3a6323767b 100644 Binary files a/images/mambaforge-start-menu-spyder-base.png and b/images/mambaforge-start-menu-spyder-base.png differ diff --git a/images/mambaforge-start-menu-spyder-ml.png b/images/mambaforge-start-menu-spyder-ml.png index 72fc6a76734b10cb017c33a16c902e129aea65e4..3ed34d0c89771e5934116b26596525075800fdd1 100644 Binary files a/images/mambaforge-start-menu-spyder-ml.png and b/images/mambaforge-start-menu-spyder-ml.png differ diff --git a/images/mambaforge-start-menu-spyder-weai.png b/images/mambaforge-start-menu-spyder-weai.png index b61f978091d77d469e501adc62110a838346c974..bbbe27e2de7cc71f83fbc8feda7a28f3ca164731 100644 Binary files a/images/mambaforge-start-menu-spyder-weai.png and b/images/mambaforge-start-menu-spyder-weai.png differ diff --git a/instructions_linux_ana2.tex b/instructions_linux_ana2.tex index 0de6cd701828874343bbf90a20fc034786f3e674..fd292a128d76689a31cd0666705b3380df52a4e2 100644 --- a/instructions_linux_ana2.tex +++ b/instructions_linux_ana2.tex @@ -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} diff --git a/instructions_linux_weai.tex b/instructions_linux_weai.tex index d963e6686433eb168af8cbcde4d09d1efb9dd333..9631c02413c54ec33fd71970f926d9401d13477a 100644 --- a/instructions_linux_weai.tex +++ b/instructions_linux_weai.tex @@ -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} diff --git a/instructions_windows_ana2.tex b/instructions_windows_ana2.tex index b50560b63a9962ab002d721647fa0592d1a9cb40..d934e4dfefdcaa9743c7938a9cea5f390fedae1b 100644 --- a/instructions_windows_ana2.tex +++ b/instructions_windows_ana2.tex @@ -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} diff --git a/instructions_windows_weai.tex b/instructions_windows_weai.tex index 9164b63255b865e4e6efe4f1660d3ffa7ba2136d..c0ec100e3bf4941546e9e41dbad8f2580998c101 100644 --- a/instructions_windows_weai.tex +++ b/instructions_windows_weai.tex @@ -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} diff --git a/instructions_windows_weai_nossl_notf.tex b/instructions_windows_weai_nossl_notf.tex index e737cdb16f80582889ff9fd16ab129bc22b827d8..3636bc385c8312703d3a6d92cafc15bdb446df68 100644 --- a/instructions_windows_weai_nossl_notf.tex +++ b/instructions_windows_weai_nossl_notf.tex @@ -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