我正在尝试在我的 Ubuntu 18.04 机器上安装 wxPython 4。
sudo pip install wxpython
Run Code Online (Sandbox Code Playgroud)
我首先收到此警告
The directory '/home/user/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/user/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If …Run Code Online (Sandbox Code Playgroud) 我是 LaunchPad 上私人 PPA 的维护者。尽管如此,我还是不知道如何正确地对其进行身份验证。我有一个以
https://private-ppa.launchpad.net/...
Run Code Online (Sandbox Code Playgroud)
在我的sources.list,但运行apt-get update结果
W: Failed to fetch https://private-ppa.launchpad.net/...: 401 Authorization Required
Run Code Online (Sandbox Code Playgroud)
我需要在哪里输入我的凭据?sources.list作为喜欢的一部分
https://username:password@private-ppa.launchpad.net/...
Run Code Online (Sandbox Code Playgroud)
?如果是的话,这些username是什么password?这是我用来登录 LaunchPad Web 界面的用户名吗?但这是我的 Ubuntu One 电子邮件地址,而不是用户名。另外对于密码,我应该使用哪一个?如果我直接在浏览器中输入 PPA 的 URL,我会收到一条提示:
A username and password are being requested by https://private-ppa.launchpad.net. The site says: "Token Required"
Run Code Online (Sandbox Code Playgroud)
该消息指的是什么令牌?
编辑:我是否受到https://bugs.launchpad.net/launchpad/+bug/860273上的错误的影响?如果是这样,我如何生成访问令牌?
在为 Ubuntu 15.04 寻找最新版本的 CMake 3.2 时,我遇到了这个 PPA。但是,我想使用 3.2.3 版而不是 CMake 3.2.1。我如何轻松地建立在为该 PPA 所做的现有工作的基础上来实现这一目标?我想像一些工作流程
dget?)到目前为止,我只能找到有关如何从上游源创建新 PPA/包的说明(涉及 Bazaar 分支和其他什么不),但没有简单的说明如何构建现有 PPA 包(最好不涉及 Bazaar)。
请注意,我没有任何构建/发布 PPA 的经验,而且我是从头开始的。