我已经尝试卸载pip uninstall tensorflow-gpu
,但得到PermissionError: [Errno 13] Permission denied: '/usr/local/bin/freeze_graph'
,所以我尝试sudo pip uninstall tensorflow-gpu
但得到sudo: pip: command not found
,是否意味着只有我的用户有pip
?如何解决?
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
python -V
Python 3.6.8
which pip
sudo apt install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.1).
which pip3
/usr/bin/pip3