Remote branch 2.1.0 not found in upstream error while installing Pytorch 2.1.0 for Python version 3.9 from Build Source

Hi,

cmake can be installed with the below command:

$ sudo apt-get install -y protobuf-compiler libprotobuf-dev openssl libssl-dev libcurl4-openssl-dev
$ wget https://github.com/Kitware/CMake/releases/download/v3.22.0/cmake-3.22.0.tar.gz
$ tar xvf cmake-3.22.0.tar.gz
$ cd cmake-3.22.0/
$ ./bootstrap --system-curl
$ make -j$(nproc)
$ sudo make install

Do you build the python3.9 on your own?
Or download it from the web?

Thanks.

1 Like