# Conda uninstall stuck

**URL:** <https://forum.anaconda.com/t/conda-uninstall-stuck/37165>\
**Category:** Product Help\
**Created:** [September 16, 2022, 11:43am UTC](https://forum.anaconda.com/t/conda-uninstall-stuck/37165 "2022-09-16T11:43:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drbwts](https://avatars.discourse-cdn.com/v4/letter/d/c2df01/32.png) [@drbwts](https://forum.anaconda.com/u/drbwts)\
**Post date:** [September 16, 2022, 11:43am UTC](https://forum.anaconda.com/t/conda-uninstall-stuck/37165/1 "2022-09-16T11:43:06Z")

</div>

Hi,

I’m trying to uninstall pytorch I installed using

`conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch`

Then I tried to uniinstall using,

`conda uninstall pytorch`

But it just hangs with,

> Collecting package metadata (repodata.json): done  
> Solving environment: -

After 2 hours I just closed the comand window. I really need to get this version of pytorch uninstalled so I can install a GPU friendly version, for whatever reason the default package from conda appears to be the CPU version as far as I can tell.

Thanks

---

<div class="post-metadata">

**Author:** ![ktsh.tanaka.2020](https://dub1.discourse-cdn.com/anaconda/user_avatar/forum.anaconda.com/ktsh.tanaka.2020/32/1400_2.png) [@ktsh.tanaka.2020](https://forum.anaconda.com/u/ktsh.tanaka.2020)\
**Post date:** [September 16, 2022, 2:18pm UTC](https://forum.anaconda.com/t/conda-uninstall-stuck/37165/2 "2022-09-16T14:18:52Z")

</div>

dear [drbwts](https://forum.anaconda.com/u/drbwts).

Thank you for your contribution to the anaconda community.  
Well, PyTorch downloaded from the following URL may be CPU-oriented and weak against GPU.

[https://anaconda.org/pytorch/pytorch](https://anaconda.org/pytorch/pytorch)

However, PytTorch is also provided in another way in conda.

CUBA10.2: conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch  
CUBA11.3 : conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch  
CUBA11.6: conda install pytorch torchvision torchaudio cudatoolkit=11.6 -c pytorch -c conda-forge  
ROCm5.1.1: not available

For deletion, currently

> conda remove pytorch  
> conda remove -n “your enviroment” pytorch

is the default and uninstall is used for compatibility with older versions.

Best regards  
ktsh.tanaka.2020

---

<div class="post-metadata">

**Author:** ![drbwts](https://avatars.discourse-cdn.com/v4/letter/d/c2df01/32.png) [@drbwts](https://forum.anaconda.com/u/drbwts)\
**Post date:** [September 18, 2022, 2:48pm UTC](https://forum.anaconda.com/t/conda-uninstall-stuck/37165/3 "2022-09-18T14:48:26Z")

</div>

Hi thanks for the reply. Unfortunately this still results in the command line hanging at the “Solving enironment” stage
