conda install python code example

Example 1: conda install scipy

conda install -c anaconda scipy

Example 2: conda install pytorch

conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch

Example 3: update python in miniconda

conda install python=3.6

Example 4: update python in miniconda

conda update python

Example 5: how to install conda using pip

conda create -n shrink_venv

Example 6: how to install conda using pip

(shrink_venv): pip install Pillow

Requirement already satisfied (use --upgrade to upgrade): Pillow in /Library/Python/2.7/site-packages

Tags:

Misc Example