@MarcAndrew_Laurenvil I myself don’t have Anaconda setup (I use pip and Python installed normally), but it sounds like you are having an issue with installing PyTorch and making it work with Anaconda as there’s no neural-style-pt specific errors. The line import torch is a default PyTorch import. @ptrblck May be able to point you in a better direction for Anaconda/PyTorch support.
I did a quick search, and found these links that might be useful for helping resolve the issue. They vary from Anaconda environment issues to incompatible Python versions:

  
      stackoverflow.com
  
  
      
    
  

  "no module named torch". But installed pytorch 1.3.0 with conda in Ubuntu 18.04.02 Server Edition 174



  python-3.x, module, pytorch, conda



  asked by
  
  
    user2315094
  
  on 02:27PM - 06 Nov 19 UTC


  
  
    
    
  
  



  
      stackoverflow.com
  
  
      
    
  

  How is it that torch is not installed by torchvision? 37



  python, pytorch, conda



  asked by
  
  
    Charlie Parker
  
  on 04:19PM - 27 Jul 19 UTC


  
  
    
    
  
  



  
      stackoverflow.com
  
  
      
    
  

  Pytorch install with anaconda error 63



  anaconda, pytorch



  asked by
  
  
    econ
  
  on 03:44PM - 27 Aug 17 UTC


  
  
    
    
  
  



  
      
      reddit
  
  
    

r/pytorch - Downloaded Anaconda but can't install PyTorch 23

0 votes and 2 comments so far on Reddit