No module called Pytorch though I install pytorch successfully. However.when I activate it using ‘conda activate pytorch’ it states that ‘Could not find conda environment: pytorch
You can list all discoverable environments with conda info --envs
.’
Please share info on how PyTorch was installed.
I guess when you install conda it creates a seprate space(Another python directory). {C:\Users\MyPC…}.
If you can… use another IDE preferably PyChram to Jupyter.
OR you have to install Pytorch for that separate py as well.
I’m using VS Code. I install anaconda then install Pycharm through ‘‘conda install -c pytorch pytorch’’, it showed installed successfully ,then I activate it through “conda activate pytorch”, then it shows 'Could not find conda environment: pytorch
You can list all discoverable environments with conda info --envs.’
hmm,not really understand it
I did try the solution suggested but it is successful in anaconda prompt but fail in VS Code ,not sure what’s wrong