运行时出现此错误
$ pip3 install -U pip
Requirement already up-to-date: pip in ./dlenv/lib/python3.6/site-packages (10.0.1)
launchpadlib 1.10.6 requires testresources, which is not installed.
我在 apt 中搜索过,似乎已经安装了 testresources
。
apt search testresources
Sorting... Done
Full Text Search... Done
python-testresources/bionic,bionic 2.0.0-2 all
PyUnit extension for managing expensive test fixtures - Python 2.x
python3-testresources/bionic,bionic 2.0.0-2 all
PyUnit extension for managing expensive test fixtures - Python 3.
我已经完成了这个 github 问题,解决方案尚不清楚。
原文由 Sebin Benjamin 发布,翻译遵循 CC BY-SA 4.0 许可协议
尝试这个,