解決服務器pip報黃色warning無法安裝nb-cli

警告內容
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
解決方法
具體流程(備份)
然后執(zhí)行命令仍然報錯
參考該文章
執(zhí)行
然后再次執(zhí)行命令即可完成
標簽: