Imdadul Haque
Imdadul Haque

Reputation: 1855

Failed to install PyTorch

I tried my best to install Pytorch but each and every time I failed to install it.

Conda version: 4.6.14

I have used Preview(Nightly) and LTS versions to install but for both of times I have faced the same error like Solving environment: | Killed .

Preview(Nightly) command: conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch-nightly

LTS command: conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch-lts

Faced error is given in the attached file, please check it.

enter image description here

Upvotes: 1

Views: 1201

Answers (1)

Brody Kretz
Brody Kretz

Reputation: 13

have you tried installing pytorch into a new environment? problems usually arise when you try to install it into your base environment.

conda create -n (NameOfEnviroment) -c pytorch pytorch torchvision
conda update --all

Upvotes: 1

Related Questions