❓查看安装了哪些第三方库
- 终端
pip list
❓更新第三方库版本
pip install --upgrade 第三方库名
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.
transformers 2.1.1 requires sentencepiece, which is not installed.
python-lsp-black 1.2.1 requires black>=22.3.0, but you have black 0.0 which is incompatible.
解决:按提示手动安装对应库。
❓安装第三方库
pip install 第三方库名==版本号
❓卸载第三方库
pip uninstall 第三方库名