运行时出现此错误
$ 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/