E:无法找到包裹点

编程入门 行业动态 更新时间:2024-10-12 01:27:15
本文介绍了E:无法找到包裹点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我一直在尝试设置Python-android环境,并不断收到此错误消息:

I have been trying to set up Python-android environment, and kept getting this error message:

~$ sudo apt-get install build-essential patch git-core ccache ant pip python-devsudo: /var/lib/sudo/plaix writable by non-owner (040777), should be mode 0700 [sudo] password for plaix: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pip

推荐答案

在Ubuntu中, pip 由 python-pip 软件包.您可以将其安装在软件中心中,或者,如果您更喜欢使用命令行,则可以:

In Ubuntu, pip is provided by the python-pip package. You can install it in the Software Center, or, if you prefer to use the command line:

sudo apt-get update && sudo apt-get install python-pip

如果尚未安装 python-dev 和 build-essential ,您也应该安装它们. (但是您的apt-get命令可能似乎已经成功安装了它们.如果不确定,可以尝试再次安装以进行检查.或者使用apt-cache policy python-dev build-essential.)

If you have not already installed python-dev and build-essential, you should install them too. (But it seems your apt-get command might have successfully installed them. If you're not sure, you can check by trying to install them again. Or with apt-cache policy python-dev build-essential.)

一旦安装了必要的软件,如果您想进一步更新,可以使用pip本身,通过运行:

Once the necessary software is installed, if you wish to update it further, you can do so with pip itself, by running:

sudo pip install --upgrade pip sudo pip install --upgrade virtualenv

来源: 如何在Ubuntu上安装pip ,方法是 Eliot (已过时,但应该仍然适用).

Source: How to install pip on Ubuntu by Eliot (dated, but should still apply).

更多推荐

E:无法找到包裹点

本文发布于:2023-11-27 14:59:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1638539.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:包裹

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!