运行时报错
$ 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 issue ,解决方案尚不清楚。
最佳答案
试试这个,
sudo apt install python3-testresources
关于python - 如何在 Ubuntu 18.04 中将 pip3 更新到最新版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51296770/