Torch version problem

Hi,

I want to install matchzoo-py that is based on pytorch but I receive this error:

Could not find a version that satisfies the requirement torch>=1.2
chzoo-py) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
No matching distribution found for torch>=1.2.0 (from matchzoo-py)

I upgrade the version by the following command:

pip install https://download.pytorch.org/whl/cu90/torch-1.2.0-cp36-cp36m-win_amd64.whl
pip install torchvision

after that I even could not import torch and I receive an error:

from torch._C import * (ImportError:...)

I would appreciate it if you guide me.

Thanks

Could you please report what is the output of pip -V?

Thanks for your reply.
Of course, it is 19.0.3.
Also, python version is 3.6.

I removed torch and then install torch by the following command:

pip3 install torch==1.2.0 torchvision==0.4.0 -f https://download.pytorch.org/whl/torch_stable.html

Now, I could import torch. Also, I could install matchzoo-py successfully but when I import torch and then import matchzoo, I receive this error that is related to pandas version I think:

AttributeError: module 'pandas' has no attribute 'core'

I would appreciate it if guide me.

Thansk

1 Like

I removed pandas and installed version 0.24.2 and now I do not have any problems.
For who read my question, suppose that this version is compatible with matchzoo-py(the package that I want to install). So, every other versions could be helpful for your application.

Many thanks