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

Target

Select target project
  • ckaufmann/install-python-tensorflow-gym
1 result
Select Git revision
Show changes
Commits on Source (3)
Showing
with 20 additions and 20 deletions
No preview for this file type
......@@ -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.
......
No preview for this file type
......@@ -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.
......
[Desktop Entry]
Exec=bash -c "source ~/.local/opt/mambaforge/etc/profile.d/conda.sh && conda activate base && spyder"
Exec=bash -c "source ~/.local/opt/miniforge3/etc/profile.d/conda.sh && conda activate base && spyder"
GenericName=Python IDE
Icon=/home/john/.local/opt/mambaforge/lib/python3.10/site-packages/spyder/images/spyder.svg
Icon=/home/john/.local/opt/miniforge3/lib/python3.10/site-packages/spyder/images/spyder.svg
MimeType=text/x-python;
Name=Spyder
Type=Application
[Desktop Entry]
Exec=bash -c "source ~/.local/opt/mambaforge/etc/profile.d/conda.sh && conda activate ml && spyder"
Exec=bash -c "source ~/.local/opt/miniforge3/etc/profile.d/conda.sh && conda activate ml && spyder"
GenericName=Python IDE
Icon=/home/john/.local/opt/mambaforge/envs/ml/lib/python3.10/site-packages/spyder/images/spyder.svg
Icon=/home/john/.local/opt/miniforge3/envs/ml/lib/python3.10/site-packages/spyder/images/spyder.svg
MimeType=text/x-python;
Name=Spyder
Type=Application
[Desktop Entry]
Exec=bash -c "source ~/.local/opt/mambaforge/etc/profile.d/conda.sh && conda activate weai && spyder"
Exec=bash -c "source ~/.local/opt/miniforge3/etc/profile.d/conda.sh && conda activate weai && spyder"
GenericName=Python IDE
Icon=/home/john/.local/opt/mambaforge/envs/weai/lib/python3.10/site-packages/spyder/images/spyder.svg
Icon=/home/john/.local/opt/miniforge3/envs/weai/lib/python3.10/site-packages/spyder/images/spyder.svg
MimeType=text/x-python;
Name=Spyder
Type=Application
No preview for this file type
......@@ -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.
......
No preview for this file type
......@@ -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]
......
No preview for this file type
......@@ -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.
......
No preview for this file type
......@@ -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]
......
No preview for this file type
......@@ -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:
......