我想在我的计算机上安装Codegen。
使用virtualenv
安装时,我遇到了以下错误:
pip3 install -r requirements.txt
Looking in links: https://download.pytorch.org/whl/torch_stable.html
ERROR: Could not find a version that satisfies the requirement torch==1.9.0+cu111 (from versions: 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0)
ERROR: No matching distribution found for torch==1.9.0+cu111
我也尝试使用conda
安装库。但是,我遇到了以下错误:
CondaValueError: could not parse '--find-links https://download.pytorch.org/whl/torch_stable.html' in: requirements.txt
> cat requirements.txt
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.9.0+cu111
transformers==4.16.2%