Python-apt Installation Error: Could not find version 2.0.0+ubuntu0.20.4.1
This\u00a0error\u00a0occurs\u00a0because\u00a0the\u00a0specific\u00a0version\u00a0of\u00a0python-apt\u00a0you\u00a0are\u00a0looking\u00a0for\u00a0(2.0.0+ubuntu0.20.4.1)\u00a0is\u00a0not\u00a0available\u00a0for\u00a0installation.\u00a0\n\nThe\u00a0available\u00a0versions\u00a0of\u00a0python-apt\u00a0are\u00a00.0.0\u00a0and\u00a00.7.8,\u00a0but\u00a0neither\u00a0of\u00a0them\u00a0matches\u00a0the\u00a0version\u00a0you\u00a0specified.\u00a0\n\nTo\u00a0resolve\u00a0this\u00a0issue,\u00a0you\u00a0can\u00a0either\u00a0try\u00a0installing\u00a0one\u00a0of\u00a0the\u00a0available\u00a0versions\u00a0(0.0.0\u00a0or\u00a00.7.8),\u00a0or\u00a0you\u00a0can\u00a0update\u00a0your\u00a0requirements\u00a0to\u00a0include\u00a0a\u00a0version\u00a0that\u00a0is\u00a0available.\u00a0\n\nFor\u00a0example,\u00a0you\u00a0can\u00a0modify\u00a0your\u00a0requirements\u00a0to:\u00a0\n\npython-apt==0.7.8\n\n\nThis\u00a0will\u00a0install\u00a0version\u00a00.7.8\u00a0of\u00a0python-apt,\u00a0which\u00a0is\u00a0the\u00a0closest\u00a0available\u00a0version.
原文地址: https://www.cveoy.top/t/topic/pAEb 著作权归作者所有。请勿转载和采集!