Discussions>ImportError: cannot import name 'ReduceScatterOptions'>

ImportError: cannot import name 'ReduceScatterOptions'

I just installed Pytorch on my pc, but when I import it in my script, I get this

ImportError: cannot import name 'ReduceScatterOptions'

What's wrong with the installations?

Pytorch: 1.1v
Ubuntu: 16.04v LTS
CUDA: 10.1v
Python: 3.5.2v

4 votesJO297.00
1 Answers

Make sure you don't have any old installations of PyTorch (prebuilt, buildable etc.) and Torch.
If you have it, remove them complitely and install PyTorch again. It worked for me.


It worked for me too.

Couldn't find what you were looking for?and we will find an expert to answer.
How helpful was this page?