cdQA icon indicating copy to clipboard operation
cdQA copied to clipboard

Can't install cdQA

Open PepeZuco opened this issue 4 years ago • 19 comments

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)

PepeZuco avatar Mar 02 '20 18:03 PepeZuco

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?

infact avatar Mar 04 '20 21:03 infact

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

infact avatar Mar 05 '20 16:03 infact

Or if you are using anaconda, you can use the following command

conda install pytorch==1.2.0 torchvision==0.4.0 -c pytorch

infact avatar Mar 10 '20 18:03 infact

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)"

Kohimax avatar May 07 '20 09:05 Kohimax

ANy solution please ??

Asma-droid avatar Jun 19 '20 12:06 Asma-droid

Has anyone found a solution

circuitsacul avatar Sep 12 '20 15:09 circuitsacul

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.

AlekseyKorshuk avatar Nov 15 '20 21:11 AlekseyKorshuk

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

sujsin77 avatar Mar 10 '21 02:03 sujsin77

Anyone found a solution? I couldn't find one.

NaveenTime avatar Jun 01 '21 12:06 NaveenTime

Anyone found a solution? I couldn't find one.

I encountered this problem as well, resolved by reinstalling 64bit version of python.

Miru302 avatar Jun 29 '21 08:06 Miru302

Same issue

angelopf avatar Nov 15 '21 18:11 angelopf

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.

NGeorgescu avatar Jul 20 '22 15:07 NGeorgescu