在Zorin上安装pip

时间:2017-02-02 10:40:46

标签: python linux pip

我正在尝试在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+版本安装在我的工作站上。

1 个答案:

答案 0 :(得分:0)

如果您已经拥有Python,那么它可能已经附带pip,这是将pip的文件夹添加到%path%(或Zorin用于路径索引的任何环境变量)的问题。

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

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

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

相关问题