

Tip: If you want to use just the command pip, instead of pip3, you can symlink pip to the pip3 binary. If you decide to use APT, you can run the following command to install it: However, if you want to install another version, there are multiple ways: If you want to use just the command python, instead of python3, you can symlink python to the python3 binary.

Tip: By default, you will have to use the command python3 to run Python. Python 3.8 or greater is generally installed by default on any of our supported Linux distributions, which meets our recommendation. The specific examples shown were run on an Ubuntu 18.04 machine. An example difference is that your distribution may support yum instead of apt. The install instructions here will generally apply to all supported Linux distributions. PyTorch is supported on Linux distributions that use glibc >= v2.17, which include the following: Prerequisites Supported Linux Distributions It is recommended, but not required, that your Linux system has an NVIDIA or AMD GPU in order to harness the full power of PyTorch’s CUDA support or ROCm support. Depending on your system and compute requirements, your experience with PyTorch on Linux may vary in terms of processing time. The environment still contains unwanted packages from the pypi channel.PyTorch can be installed and used on various Linux distributions.

Sphinxcontrib-serializinghtml 1.1.4 pypi_0 pypi Sphinxcontrib-applehelp 1.0.2 pypi_0 pypi # packages in environment at /opt/miniconda3:Ĭonda-package-handling 1.6.0 p圓7h1de35cc_0 $ conda list -n base -revisionsĭespite the above conda install command, my base environment is still polluted by various python packages, that were installed after revision 1. $ conda install -n base -revision 1įor reference, here is what revision 1 means in my case. I attempted cleaning up my base (mini)conda environment by installing revision 1 of the base environment.
