[Solved] Windows Anaconda Pytorch

Hello I am trying to install new pytorch from anaconda with Win-64 channel. I am using this command :
conda install -c peterjc123 pytorch
However I got this error :

UnsatisfiableError: The following specifications were found to be in conflict:
  - pytorch
Use "conda info <package>" to see the dependencies for each package.

Since it just 3 days ago and the command in anaconda is not updated.

# for Windows 10 and Windows Server 2016, CUDA 8
conda install -c peterjc123 pytorch cuda80

# for Windows 10 and Windows Server 2016, CUDA 9
conda install -c peterjc123 pytorch cuda90

# for Windows 7/8/8.1 and Windows Server 2008/2012, CUDA 8
conda install -c peterjc123 pytorch_legacy cuda80

you can see in here .

1 Like

Does it work well?
I’d love to move to Windows from Linux working on PyTorch.

So far is good, I still don’t find any problem on it. Are you sure?, I think Linux is better :slight_smile: .

Well,
I find Linux Mint (18.2 + 18.3), which is what I have been using in the last 8 months, to be much less polished and efficient than Windows 10.

Also I see no speed gains on my system (I have 1 SSD for one and same SSD for the other).
So after once you look the bottom line at the end of the day, there is now reason to switch.

Only thing keep me working on Linux is PyTorch.

Peterjc123’s solution breaks conda and isn’t valid anymore. We need some other way to get Pytorch running on windows.

Guys any solution on installing Pytorch on windows 10 …I tried the above command but it did not work

I am still not sure about the new version. Maybe you can try the command in here. @Ray_Mkindo

@Nicholas_Wickman Have you tried the new version in here . Which CUDA and python version do you use?

I have not. I have a fragile installation that I’ve managed to keep working. If that breaks I will check it out.

conda install -c peterjc123 pytorch

try this for windows 10, it works for me.

conda install -c soumith pytorch

for linux and mac OS

You should use the pytorch channel, since it has the new binaries:

conda install pytorch torchvision -c pytorch
2 Likes

When will PyTorch be updated regularly on the official Conda Channel?

Yes Pytorch support windows version here now you can install it by:

conda install pytorch -c pytorch 
pip3 install torchvision

If you got error like this.

Downloading and Extracting Packages
pytorch 0.4.0: ######################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(481): An error occurred while installing package
'pytorch::pytorch-0.4.0-py36_cuda80_cudnn7he774522_1'.
PermissionError(13, 'Permission denied')
Attempting to roll back.

Please run your anaconda prompt as administrator by right click and choose run as administrator then copy paste the command again. The error should be resolved.

See my post above:

It would be easier if PyTorch became part of the default channel of Anaconda.