Noob over his head. Please help

username: Paul_Crist
cooked: <p>This is way beyond me, I won’t bore you with details but I only tried to install PyTorch because it’s required for an addon to a miniconda program &amp; might improve that program. This is my first time with miniconda and I’m trying to run it on a windows machine. PyTorch might be needed for the actual program itself, I’m not 100% clear on that.</p>
<p>The program on Github gave me this link</p><aside class="onebox allowlistedgeneric" data-onebox-src="https://pytorch.org/get-started/previous-versions/">
  <header class="source">
      <img src="https://pytorch.org/favicon.ico?" class="site-icon" width="32" height="32">

      <a href="https://pytorch.org/get-started/previous-versions/" target="_blank" rel="noopener nofollow ugc">PyTorch</a>
  </header>

  <article class="onebox-body">
    <div class="aspect-image" style="--aspect-ratio:690/362;"><img src="https://pytorch.org/assets/images/social-share.jpg" class="thumbnail" width="690" height="362"></div>

<h3><a href="https://pytorch.org/get-started/previous-versions/" target="_blank" rel="noopener nofollow ugc">Previous PyTorch Versions</a></h3>

  <p>Installing previous versions of PyTorch</p>


  </article>

  <div class="onebox-metadata">
    
    
  </div>

  <div style="clear: both"></div>
</aside>

<p>I used the “conda install pytorch” for Cuda 12.1 in Windows and I verified that’s the version of Cuda I have, but because I’m a noob I tried using the CMD command prompt to install it directly into my Cuda folder. If someone can tell me if this is going to cause problems I’d appreciate it. And also if I can just go into the Cuda folder and delete it or if it’s more complicated.</p>
<p>Anyway, that’s not really the main issue. When the program wouldn’t work I went to <a href="https://pytorch.org/" rel="noopener nofollow ugc">https://pytorch.org/</a> and installed it from the windows command console but the program (liveportrait) still wont run, and some simple game animations are now running slow on my computer. I chose the wrong Options.</p>
<p>So my first real question is, can I just keep trying different options till I get it right?<br>
Simplified, if I try to reinstall will it overwrite my last install through the windows prompt, or do I have to uninstall first?</p>
<p>Also, if anyone is familiar with LivePortrait and can tell me if PyTorch is a requirement of LivePortrait or just a requirement of X-Pose or any of the other LivePortrait addons available through Comfyui, that would also be a big help. If LivePortrait or it’s other addons don’t need PyTorch then all I have to do is figure out how to uninstall PyTorch and I’ll be out of your hair <img src="https://discuss.pytorch.org/images/emoji/apple/smiley.png?v=12" title=":smiley:" class="emoji" alt=":smiley:" loading="lazy" width="20" height="20"></p>
<p>Sorry for the Noob question, but any help would be appreciated.</p>

username: Paul_Crist
cooked: <p>For anyone reading this, I think I made some progress… maybe… possibly… I don’t know. lol</p>
<p>When I try installing the Conda version, it says “All requested packages already installed.”</p>
<p>When I try installing the PIP version it gives a list of requirements and for each it tells me “Requirement already satisfied”</p>
<p>So I think I have both installed, I just need to figure out which one to uninstall. Hopefully that will fix it. When I try to run LivePortrait I get this error message.<br>
File “C:\Users\Paul\miniconda3\envs\liveportrait\lib\site-packages\torch\cuda_<em>init</em>_.py”, line 305, in _lazy_init<br>
raise AssertionError(“Torch not compiled with CUDA enabled”)<br>
AssertionError: Torch not compiled with CUDA enabled</p>
<p>I’m running windows, I have mini conda installed as well as with python<br>
I did paths for both in the environment window. (If I’m leaving something out, please let me know)</p>
<p>When I’m in the control panel in the Live Portrait folder (by typing cmd) and I type in “conda activate liveportrait”, it works. So I guess mini conda is working.</p>
<p>After I activate liveportrait with that command then type in “python app.py” to launch it, I get the error message I mentioned earlier “AssertionError: Torch not compiled with CUDA enabled”</p>
<p>When I type “print(torch.<strong>version</strong>)” I get “Unable to initialize device PRN”</p>
<p>When I type “print torch.cuda.is_available” I get the same “Unable to initialize device PRN” message</p>
<p>When I type “print python program.py” I get the same “Unable to initialize device PRN” message</p>
<p>So I’m guessing all this means that I have to uninstall one of the PyTorch installs. Can someone please tell me which one I have to uninstall please?</p>

username: Paul_Crist
cooked: <p>Nevermind, I just figured out how to uninstall everything</p>