Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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 "sy32" (change micromamba call with mamba or conda according to your setup):// //Open a terminal, then create a virtual environment with all the needed libraries, called for example "sy32" (change micromamba call with mamba or conda according to your setup)://
 <code bash> <code bash>
-micromamba create -n sy32 -c conda-forge -c pytorch -c open3d-admin python=3.8 scikit-image scikit-learn opencv matplotlib spyder-notebook pytorch torchvision torchinfo addict plyfile tqdm open3d+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
 </code> </code>
 (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
 +</code>
 +
 +Enfin, la bibliothèque open3d n'est disponible maintenant que via pip, pour l'installer, faire (à l'intérieur du bon environnement python) :
 +//Finally, open3d library is now only available via pip, to install it, do (inside the appropriate ptyhon environment)://
 +<code bash>
 +pip install open3d
 </code> </code>
  
Ligne 39: Ligne 45:
 micromamba update --all micromamba update --all
 </code> </code>
 +
 +**Si besoin, commande pour nettoyer le cache conda/mamba**
 +
 +<code bash>
 +micromamba clean --all
 +</code>
 +