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

Add pip package

parent 9b0f965f
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{August 2024}
\date{Oktober 2024}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -131,7 +131,7 @@ Wir erstellen nun eine Umgebung namens \lstinline|ml| mit Python 3.10 und den be
geopandas descartes 'pyogrio<0.8.0' optuna plotly tqdm \
jax-jumpy moviepy shimmy-atari gymnasium-box2d spyder \
ipywidgets notebook lxml fastparquet zstandard \
contextily networkx pyvis netgraph
contextily networkx pyvis netgraph pip
\end{lstlisting}
Sie können die Umgebung jederzeit mit \lstinline|mamba activate ml| aktivieren und mit \lstinline|mamba deactivate| deaktivieren. Generell können Sie auch weitere Umgebungen mit \lstinline|mamba create -n <ENVNAME> <PAKETE>| einrichten und diese mit \lstinline|mamba activate <ENVNAME>| aktivieren.
......
......@@ -52,7 +52,7 @@
\title{Installationsanleitung für Python mit OpenAI Gym für Windows}
\date{August 2024}
\date{Oktober 2024}
\author{Christof Kaufmann}
......@@ -132,7 +132,7 @@ Wir erstellen nun eine Umgebung namens \lstinline|ml| mit Python 3.10 und den be
scikit-learn optuna astunparse git jupyter notebook spyder ^
openpyxl odfpy lxml pyarrow fastparquet zstandard mypy ^
geopandas "pyogrio<0.8.0" contextily networkx netgraph ^
pyvis jax-jumpy moviepy shimmy-atari gymnasium-box2d
pyvis jax-jumpy moviepy shimmy-atari gymnasium-box2d pip
\end{lstlisting}
Sie können die Umgebung jederzeit mit \lstinline|mamba activate ml| aktivieren und mit \lstinline|mamba deactivate| deaktivieren. Generell können Sie auch weitere Umgebungen mit \lstinline|mamba create -n <MYENVNAME> <PAKETE>| einrichten und diese mit \lstinline|mamba activate <MYENVNAME>| aktivieren.
......
......@@ -52,7 +52,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Miniforge for Linux}
\date{December 2023}
\date{October 2024}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -123,7 +123,7 @@ Now we are ready to install the packages we need.
Let's install the required packages (copy \& paste):
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily]
mamba install numpy pandas matplotlib mypy ipykernel ipympl \
jupyter notebook spyder tqdm
jupyter notebook spyder tqdm pip
\end{lstlisting}
You will get a list of packages and can confirm with \keyenter. Installation takes a while.
......
......@@ -51,7 +51,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Miniforge for Linux}
\date{August 2024}
\date{October 2024}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -124,7 +124,7 @@ Let's create a new environment called \textit{weai} and add the packages we need
mamba create -n weai python=3.10 'tensorflow<2.16' spyder jupyter \
matplotlib seaborn tqdm mypy scikit-learn \
pandas openpyxl odfpy pyarrow notebook \
optuna plotly ipympl
optuna plotly ipympl pip
\end{lstlisting}
You will get a list of packages and can confirm with \keyenter. Installation takes a while. Let's change into the \textit{weai} environment and start spyder
\begin{lstlisting}[gobble=2]
......
......@@ -52,7 +52,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Miniforge for Windows}
\date{December 2023}
\date{October 2024}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -105,7 +105,7 @@ Now we are ready to install the packages we need.
Let's install the required packages (copy \& paste black text lines):
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
#*\color{gray}(base) C:\textbackslash Users\textbackslash john>*mamba install numpy pandas matplotlib ipykernel ^
mypy jupyter notebook spyder ipympl
mypy jupyter notebook spyder ipympl pip
\end{lstlisting}
You will get a list of packages and can confirm with \keyenter. Installation takes a while.
......
......@@ -51,7 +51,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Miniforge for Windows}
\date{August 2024}
\date{October 2024}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -107,7 +107,7 @@ Let's create a new environment called \textit{weai} and add the packages we need
#*\color{gray}(base) C:\textbackslash Users\textbackslash john>*mamba create -n weai python=3.10 astunparse matplotlib ^
ipympl mypy jupyter notebook spyder ^
scikit-learn seaborn openpyxl odfpy ^
pyarrow pandas optuna plotly
pyarrow pandas optuna plotly pip
\end{lstlisting}
You will get a list of packages and can confirm with \keyenter. Installation takes a while. Since \lstinline|tensorflow| is not yet available for Windows on \texttt{conda-forge}, we need to install it from \textit{PyPI} using \lstinline|pip| into the \textit{weai} environment:
\begin{lstlisting}[gobble=2, basicstyle=\ttfamily\footnotesize]
......
......@@ -51,7 +51,7 @@
\usepackage[color=blue, author={Christof Kaufmann}]{attachfile2} % load after hyperref to avoid option clash from unicode=true
\title{Installation of Python via Miniforge for Windows}
\date{August 2024}
\date{October 2024}
\author{Christof Kaufmann}
% one infinite page, https://tex.stackexchange.com/a/19241/115883
......@@ -113,7 +113,7 @@ Now let's create a new environment called \textit{weai} and add the packages we
#*\color{gray}(base) C:\textbackslash Users\textbackslash john>*mamba create -n weai python=3.10 spyder jupyter notebook ^
ipympl mypy matplotlib seaborn ^
pandas pyarrow openpyxl odfpy ^
scikit-learn optuna plotly
scikit-learn optuna plotly pip
\end{lstlisting}
You will get a list of packages and can confirm with \keyenter. Installation takes a while. \textit{If it does not work because of SSL verification, try again from your home network.}
Now set up SSL verification again:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment