mirror of
https://github.com/davrot/pytutorial.git
synced 2025-04-18 21:26:41 +02:00
Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
4e4154fe71
commit
3fe5abe0a1
1 changed files with 29 additions and 1 deletions
|
@ -1,3 +1,15 @@
|
||||||
|
# Python installation (Windows)
|
||||||
|
{:.no_toc}
|
||||||
|
|
||||||
|
<nav markdown="1" class="toc-class">
|
||||||
|
* TOC
|
||||||
|
{:toc}
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
## Goal
|
||||||
|
Install your very own Python and keep everything under control.
|
||||||
|
|
||||||
|
Questions to [David Rotermund](mailto:davrot@uni-bremen.de)
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
|
||||||
|
@ -6,19 +18,25 @@ We need to download a suitable Python version from [https://www.python.org](http
|
||||||
I downloded this file:
|
I downloded this file:
|
||||||
[https://www.python.org/ftp/python/3.11.7/python-3.11.7-amd64.exe](https://www.python.org/ftp/python/3.11.7/python-3.11.7-amd64.exe)
|
[https://www.python.org/ftp/python/3.11.7/python-3.11.7-amd64.exe](https://www.python.org/ftp/python/3.11.7/python-3.11.7-amd64.exe)
|
||||||
|
|
||||||
Image1.png
|

|
||||||
|
|
||||||
Select "Add python.exe to Path" and then press "Install Now".
|
Select "Add python.exe to Path" and then press "Install Now".
|
||||||
|
|
||||||
We need to update pip first:
|
We need to update pip first:
|
||||||
|
|
||||||
|
```shell
|
||||||
python.exe -m pip install --upgrade pip
|
python.exe -m pip install --upgrade pip
|
||||||
|
```
|
||||||
|
|
||||||
### Numba
|
### Numba
|
||||||
|
|
||||||
|
```shell
|
||||||
pip install numpy
|
pip install numpy
|
||||||
|
```
|
||||||
|
|
||||||
|
```shell
|
||||||
pip install numba
|
pip install numba
|
||||||
|
```
|
||||||
|
|
||||||
|Package||
|
|Package||
|
||||||
|---|---|
|
|---|---|
|
||||||
|
@ -26,7 +44,9 @@ pip install numba
|
||||||
|
|
||||||
## Basic Packages you want to install
|
## Basic Packages you want to install
|
||||||
|
|
||||||
|
```shell
|
||||||
pip3 install numpy scipy pandas flake8 pep8-naming black matplotlib seaborn ipython jupyterlab mypy dataclasses-json dataconf ipympl pywavelets scikit-image opencv-python scikit-learn tqdm argh sympy jsmin pybind11 pybind11-stubgen pigar asciichartpy natsort ipykernel
|
pip3 install numpy scipy pandas flake8 pep8-naming black matplotlib seaborn ipython jupyterlab mypy dataclasses-json dataconf ipympl pywavelets scikit-image opencv-python scikit-learn tqdm argh sympy jsmin pybind11 pybind11-stubgen pigar asciichartpy natsort ipykernel
|
||||||
|
```
|
||||||
|
|
||||||
|Package||
|
|Package||
|
||||||
|---|---|
|
|---|---|
|
||||||
|
@ -65,11 +85,15 @@ pip3 install numpy scipy pandas flake8 pep8-naming black matplotlib seaborn ipyt
|
||||||
|
|
||||||
#### CPU only
|
#### CPU only
|
||||||
|
|
||||||
|
```shell
|
||||||
pip3 install torch torchvision torchaudio torchtext
|
pip3 install torch torchvision torchaudio torchtext
|
||||||
|
```
|
||||||
|
|
||||||
#### NVidia GPU
|
#### NVidia GPU
|
||||||
|
|
||||||
|
```shell
|
||||||
pip3 install torch torchvision torchaudio torchtext --index-url https://download.pytorch.org/whl/cu121
|
pip3 install torch torchvision torchaudio torchtext --index-url https://download.pytorch.org/whl/cu121
|
||||||
|
```
|
||||||
|
|
||||||
|Package||
|
|Package||
|
||||||
|---|---|
|
|---|---|
|
||||||
|
@ -82,11 +106,15 @@ pip3 install torch torchvision torchaudio torchtext --index-url https://downloa
|
||||||
|
|
||||||
#### CPU only
|
#### CPU only
|
||||||
|
|
||||||
|
```shell
|
||||||
pip install tensorflow
|
pip install tensorflow
|
||||||
|
```
|
||||||
|
|
||||||
#### NVidia GPU
|
#### NVidia GPU
|
||||||
|
|
||||||
|
```shell
|
||||||
python3 -m pip install tensorflow[and-cuda]
|
python3 -m pip install tensorflow[and-cuda]
|
||||||
|
```
|
||||||
|
|
||||||
|Package||
|
|Package||
|
||||||
|---|---|
|
|---|---|
|
||||||
|
|
Loading…
Add table
Reference in a new issue