找不到 PIP3 distils.cmd 模块

问题描述 投票:0回答:0

enter image description here

我尝试过的解决方案: 通过以下方式重新安装/删除 pip 和 pip3 *apt-get 删除 python-pip apt-get 安装 python-pip apt-get 安装 --reinstall python-pip

apt-get 删除 python3-pip apt-get 安装 python3-pip apt-get 安装 --reinstall python3-pip

apt-get 安装 python3-distutils-extra apt-get 安装 python3-distutils *

如果我使用: pip3 enter image description here 找到 pip3 显示: enter image description here 试图将其添加到路径 enter image description here

我已经尝试添加存储库和更新 python/pip,以及在添加 dead snakes 存储库后重新尝试上面的重新安装方法 enter image description here

对于上下文,我使用的是 M1 MacBook Pro 2020,使用 macOS Monterey 版本 12.6 这当然使用 M1 芯片。我正在使用 UTM 运行 Kali 虚拟机,图像是从 Kali.org 下载的 另外,我这样做是为了尝试安装 MobSF,这在 venv 中工作正常,我需要在 venv 之外执行此操作(或者我相信)

python-3.x pip apple-m1 distutils kali-linux
© www.soinside.com 2019 - 2024. All rights reserved.