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/08 17:29] 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 31: | Ligne 31: | ||
| <code bash> | <code bash> | ||
| micromamba activate sy32 | micromamba activate sy32 | ||
| + | </ | ||
| + | |||
| + | Enfin, la bibliothèque open3d n'est disponible maintenant que via pip, pour l' | ||
| + | //Finally, open3d library is now only available via pip, to install it, do (inside the appropriate ptyhon environment):// | ||
| + | <code bash> | ||
| + | pip install open3d | ||
| </ | </ | ||
| Ligne 39: | Ligne 45: | ||
| micromamba update --all | micromamba update --all | ||
| </ | </ | ||
| + | |||
| + | **Si besoin, commande pour nettoyer le cache conda/ | ||
| + | |||
| + | <code bash> | ||
| + | micromamba clean --all | ||
| + | </ | ||
| + | |||