12 python pip python-3.x
我按照这个答案升级了我运行 Ubuntu 18.04.4 LTS 的机器上过时的 Python 包。我正在使用pip 20.0.2
.
现在,每次我尝试安装或升级软件包时,都会弹出一个烦人的窗口,要求输入密码。例如:
pip install --user -U numpy
Run Code Online (Sandbox Code Playgroud)
我得到以下窗口:
当我按Cancel 时,我得到以下输出:
WARNING: Keyring is skipped due to an exception: Failed to unlock the collection!
WARNING: Keyring is skipped due to an exception: Failed to unlock the collection!
Requirement already up-to-date: numpy in /home/user/.local/lib/python3.6/site-packages (1.18.1)
Run Code Online (Sandbox Code Playgroud)
在此问题之前,我曾经在没有 sudo 权限和不使用--user
标志的情况下安装我的软件包。
pip 有什么问题?我该如何解决?
我感谢您的帮助。
归档时间: |
|
查看次数: |
5300 次 |
最近记录: |