Need help loading pytorch through anaconda


(Tom Cipollone) #1

I have tried a few things but with no success.

Tried “conda install pytorch torchvision -c pytorch”
Failed because "PackagesNotFoundError: The following packages are not available from current channels:
pytorch"

Tried “pip install pytorch”

That failed as well after downloading the tar.gz file and attempting a build (which failed). The error notice ended with “Exception: You should install pytorch from http://pytorch.org”.

Been working with Linux for many years but not sure how to navigate with pip and conda package utilities.

Help is appreciated.
Thank You
Tom


(Arul) #2

Two things you could try:

  1. Build from source (pytorch in github)
  2. Install from here : pip install https://files.pythonhosted.org/packages/ca/0d/f00b2885711e08bd71242ebe7b96561e6f6d01fdb4b9dcf4d37e2e13c5e1/torchvision-0.2.1-py2.py3-none-any.whl.
    This will install pytorch 0.4.1 also.

#3

what is the output for python -V also do you have GPU or not?


(Tom Cipollone) #4

Hi and thank you for the reply,

Although I have other computers that do run Linux natively, with a GXT960 graphics card, here, I am on a relatively new Dell laptop running windows 10 (weening myself off the “big” tower). So, probably no dedicated GPU.

Running python in a jupyter notebook (browser).

python -V
python 3.6.6 :: Anaconda custom (64 bit)

Thank You
Tom