Kali-Linux

無法在 Kali Linux 中安裝包 python-httplib2

  • August 1, 2020

我需要安裝我在標題中提到的包,但是當我執行時:

sudo apt-get install -y python-httplib2

我得到:

“包’python-httplib2’沒有安裝候選”

我被告知要執行:

"sudo apt-get install python" 
"sudo apt-get install python2" 
"sudo apt-get update"

但它也不起作用。

debian 包搜尋僅顯示這些

Package python-httplib2
jessie (oldoldstable) (python): comprehensive HTTP client library written for Python
0.9+dfsg-2+deb8u1 [security]: all
stretch (oldstable) (python): comprehensive HTTP client library written for Python
0.9.2+dfsg-1: all
buster (stable) (python): comprehensive HTTP client library written for Python
0.11.3-2: all
sid (unstable) (libs): A comprehensive HTTP client library written in python
0.2.0-2 [debports]: m68k sh4

您正在使用不可用的舊發行版lenny

嘗試手動下載一個穩定的 deb 包並安裝它

連結:

https ://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=python-httplib2

下載連結: http:

//ftp.br.debian.org/debian/pool/main/p/python-httplib2/python-httplib2_0.11.3-2_all.deb

引用自:https://unix.stackexchange.com/questions/602324