安装tensorflow-gpu需要卸载吗
时间: 2023-09-03 09:08:59 浏览: 146
是的,安装tensorflow-gpu之前需要先卸载之前安装的tensorflow-cpu。这是因为tensorflow-gpu和tensorflow-cpu是不同的版本,如果不卸载之前的版本,可能会导致版本不匹配而安装出错。可以通过激活虚拟环境,然后使用conda deactivate命令来卸载tensorflow-cpu。\[1\]
#### 引用[.reference_title]
- *1* [tensorflow-gpu卸载 (windows)](https://blog.csdn.net/weixin_43412762/article/details/129868620)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Linux卸载以及离线安装tensorflow-gpu 2.4.0、cuda11.0、cudnn 8.0](https://blog.csdn.net/bibilibabaliboom/article/details/124581793)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文