我想通过以下命令安装 python 空闲:
sudo apt-get install idle3
输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package idle3
在 2016.2 版本中,它是使用该命令安装的...但现在我无法安装它。
我也尝试过这个命令:
sudo apt-get install idle-python3.6
输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package idle-python3.6
E: Couldn't find any package by glob 'idle-python3.6'
E: Couldn't find any package by regex 'idle-python3.6'
当我尝试打字时空闲3在终端中,它说:
bash: idle3: command not found
我怎样才能安装空闲3在 Kali-Linux 2017.2 中?
答案1
编辑您的/etc/apt/sources.list
,您应该只有以下行:
deb http://http.kali.org/kali kali-rolling main non-free contrib
保存然后运行:
apt update
apt install idle3
答案2
不要idle3
只输入 type idle
。
答案3
尝试运行 date 命令和 time 命令,如果不正确请更改时间。
然后再次运行你的命令