cdQA
cdQA copied to clipboard
Can't install cdQA
ERROR: Could not find a version that satisfies the requirement torch==1.2.0 (from cdqa) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2) ERROR: No matching distribution found for torch==1.2.0 (from cdqa)
ERROR: Could not find a version that satisfies the requirement torch==1.2.0 (from cdqa) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2) ERROR: No matching distribution found for torch==1.2.0 (from cdqa)
Which OS are you using?
Try this if on Windows
pip install torch==1.2.0+cpu torchvision==0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
Or if you are using anaconda, you can use the following command
conda install pytorch==1.2.0 torchvision==0.4.0 -c pytorch
I have face the below issue (windows environment) "ERROR: Could not find a version that satisfies the requirement torch==1.2.0 (from cdqa) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2) ERROR: No matching distribution found for torch==1.2.0 (from cdqa)"
ANy solution please ??
Has anyone found a solution
You just need to replace torch==1.2.0 to torch==1.5.0 in requirement.txt after cloning the directory. This works for me.
Try this if on Windows
pip install torch==1.2.0+cpu torchvision==0.4.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
running above command gives following error Looking in links: https://download.pytorch.org/whl/torch_stable.html ERROR: Could not find a version that satisfies the requirement torch==1.2.0+cpu (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 1.4.0, 1.4.0+cpu, 1.4.0+cu92, 1.5.0, 1.5.0+cpu, 1.5.0+cu101, 1.5.0+cu92, 1.5.1, 1.5.1+cpu, 1.5.1+cu101, 1.5.1+cu92, 1.6.0, 1.6.0+cpu, 1.6.0+cu101, 1.7.0, 1.7.0+cpu, 1.7.0+cu101, 1.7.0+cu110, 1.7.1, 1.7.1+cpu, 1.7.1+cu101, 1.7.1+cu110, 1.8.0, 1.8.0+cpu, 1.8.0+cu101, 1.8.0+cu111) ERROR: No matching distribution found for torch==1.2.0+cpu
Anyone found a solution? I couldn't find one.
Anyone found a solution? I couldn't find one.
I encountered this problem as well, resolved by reinstalling 64bit version of python.
Same issue
I know this is thread necromancy but it looks like 1.2.0 is only compatible with python 3.7 according to the page, so you may need to either A) use a virtual environment to install 3.7 or B) download torch 1.2.0 and edit the setup file to allow you to install on 3.8. The solution A is probably preferable considering that I believe 3.8 uses new keywords like "async" which break some packages, but YMMV.