Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
setup-python [2023/11/14 14:55] moreajul |
setup-python [2024/11/15 22:43] (Version actuelle) moreajul |
||
|---|---|---|---|
| Ligne 22: | Ligne 22: | ||
| //Open a terminal, then create a virtual environment with all the needed libraries, called for example " | //Open a terminal, then create a virtual environment with all the needed libraries, called for example " | ||
| <code bash> | <code bash> | ||
| - | micromamba create -n sy32 -c conda-forge -c pytorch | + | micromamba create -n sy32 -c conda-forge -c pytorch python=3.8 scikit-image scikit-learn opencv matplotlib spyder-notebook pytorch torchvision torchinfo addict plyfile tqdm labelimg |
| </ | </ | ||
| (NumPy, SciPy, Spyder et notebook seront aussi installés car sont requis pour ces bibliothèques.)\\ | (NumPy, SciPy, Spyder et notebook seront aussi installés car sont requis pour ces bibliothèques.)\\ | ||
| Ligne 45: | Ligne 45: | ||
| micromamba update --all | micromamba update --all | ||
| </ | </ | ||
| + | |||
| + | **Si besoin, commande pour nettoyer le cache conda/ | ||
| + | |||
| + | <code bash> | ||
| + | micromamba clean --all | ||
| + | </ | ||
| + | |||