WARNING: Running pip as the 'root' user can result in broken permissions and
时间: 2023-09-21 07:04:25 浏览: 158
引用提到,当我们使用pip安装Python库时,如果以“root”用户身份运行pip可能会导致权限损坏和冲突。这可能会导致无法更新pip或下载库失败。而引用中提到了一种找到pip安装位置的方法,即使用命令"find / -name pip-*"来查找。最后,引用指出在使用pip安装tensorflow时可能会遇到错误信息"ImportError: DLL load failed: 找不到指定的模块",官方网站上有相关说明,建议卸载最新的tensorflow 2.0,使用命令"pip uninstall tensorflow"。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [linux pip报错:WARNING: Running pip as the ‘root‘ user can result in broken permissions and ...](https://blog.csdn.net/weixin_51080564/article/details/123584119)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [安装tensorflow运行出错 ERROR:root:Internal Python error in the inspect module](https://download.csdn.net/download/weixin_38606202/13748230)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文