问题
? ? ? ? 在ubuntu20.04上执行如下命令,报错
root@ubuntu:/home/vpp# sudo pip3 install setuptools Collecting setuptools ? Using cached setuptools-62.3.2-py3-none-any.whl (1.2 MB) Installing collected packages: setuptools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. launchpadlib 1.10.13 requires testresources, which is not installed. Successfully installed setuptools-62.3.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
解决方法
? ? ? ? 执行如下命令
python3?-m pip install launchpadlib
? ? ? ? 然后重新安装
sudo pip3 install setuptools
|