gpt4 book ai didi

python - 在 Zorin 上安装 pip

转载 作者:太空狗 更新时间:2023-10-29 12:41:30 24 4
gpt4 key购买 nike

我正在尝试在 Zorin 8 上安装 pip。但是,当我使用 sudo apt-get install python3-pip 时,出现以下错误

Err http://ubuntu.mirrors.pair.com/archive/ saucy/main libexpat1-dev amd64 2.1.0-4
404 Not Found

Err http://ubuntu.mirrors.pair.com/archive/ saucy/main libpython3-dev amd64 3.3.2-14ubuntu1
404 Not Found

Err http://ubuntu.mirrors.pair.com/archive/ saucy/main python3-dev amd64 3.3.2-14ubuntu1
404 Not Found

Err http://ubuntu.mirrors.pair.com/archive/ saucy/main python3-setuptools all 0.6.37-1ubuntu1
404 Not Found

Err http://ubuntu.mirrors.pair.com/archive/ saucy/universe python3-pip all 1.4.1-2
404 Not Found

Failed to fetch http://ubuntu.mirrors.pair.com/archive/pool/main/e/expat/libexpat1-dev_2.1.0-4_amd64.deb 404 Not Found

Failed to fetch http://ubuntu.mirrors.pair.com/archive/pool/main/p/python3-defaults/libpython3-dev_3.3.2-14ubuntu1_amd64.deb 404 Not Found

Failed to fetch http://ubuntu.mirrors.pair.com/archive/pool/main/p/python3-defaults/python3-dev_3.3.2-14ubuntu1_amd64.deb 404 Not Found

Failed to fetch http://ubuntu.mirrors.pair.com/archive/pool/main/d/distribute/python3-setuptools_0.6.37-1ubuntu1_all.deb 404 Not Found

Failed to fetch http://ubuntu.mirrors.pair.com/archive/pool/universe/p/python-pip/python3-pip_1.4.1-2_all.deb 404 Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

请提出解决方案。在尝试安装 pip 之前,我尝试执行 sudo apt-get upgrade。我的工作站安装了python 3.3.2+版本。

最佳答案

如果你已经有 Python,那么它可能已经带有 pip 并且将 pip 的文件夹添加到 %path% 中(或者 Zorin 使用的任何环境变量)路径索引)。

但是,如果您真的确定您没有pip,但您有Python,那么您应该查看here , 它包含安装 pip 的所有二进制数据。

另外,你确定你有 Python 吗?如果你没有,看看你是否可以在 Python's official website 下载 Zorin 可能会有用。 .此外,据我研究,我发现 Zorin 运行 Debian 的 .deb packages。 ,这意味着您可能会寻找 Python .deb 包。

编辑:也许我应该在评论中说这个,但是嘿,不合适,这已经帮助了 C:

关于python - 在 Zorin 上安装 pip,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42000012/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com