From the introduction, conda is a more powerful package management tool than pip. In addition to supporting python package management, it also supports other languages.
There are two installation packages Miniconda and Anaconda, how to choose?
Miniconda installer = Python + conda Anaconda installer = Python + conda + meta package anaconda about 1500 built-in packages, 3G space
Looks like Miniconda is better for me. It is not troublesome to manually install the third-party package, and there is no need to install so many libraries that are not likely to be used.
Verify that conda installed successfully
After installation is complete. Press the win key, search for Anaconda, you will see a
Anaconda Prompt (miniconda)
program, open it, and execute:
> conda --version conda 4.12.0
You can see the version number indicating that the installation was successful.
Select the version number and operating system on the official website, and execute the installation through the automatically generated installation command
conda install pytorch torchvision torchaudio cpuonly -c pytorch
Verify that PyTorch was successfully installed
> python Python 3.9.12 (main, Apr 4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import torch >>> torch.__version__ '1.12.1'