Skip to content
Snippets Groups Projects
Commit 445bd6db authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

Update emnist in Linux Gymnasium instructions

parent b734c4e1
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installationsanleitung für Python mit OpenAI Gym für Linux}
\date{April 2024}
\date{August 2024}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -134,10 +134,11 @@ Wir erstellen nun eine Umgebung namens \lstinline|ml| mit Python 3.10 und den be
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.
Installieren Sie nun in der Umgebung \lstinline|ml| noch Pakete, die es (noch) nicht in conda-forge gibt, sondern nur in PyPI (bzw.\ EMNIST auf PyPI ist veraltet und wir verwenden direkt die Version von github). Hierdurch können allerdings Probleme in Ihrer Umgebung entstehen.
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
#*\color{gray}(base) \color{green!80!black}john \color{gray}\color{blue!90!black!70}\textasciitilde\ \color{gray}\$* mamba activate ml #*\color{cyan}\# \itshape wir wollen in 'ml' installieren*
#*\color{gray}(ml) \color{green!80!black}john \color{gray}\color{blue!90!black!70}\textasciitilde\ \color{gray}\$* pip install emnist autorom[accept-rom-license]
#*\color{gray}(ml) \color{green!80!black}john \color{gray}\color{blue!90!black!70}\textasciitilde\ \color{gray}\$* pip install git+https://github.com/hosford42/EMNIST.git \
autorom[accept-rom-license]
\end{lstlisting}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment