How to uninstall TensorFlow completely?
up vote
9
down vote
favorite
I accidentally installed TensorFlow for Ubuntu/Linux 64-bit, GPU enabled.
When I installed with Linux 64-bit CPU only, I am getting Segmentation fault while importing tensorflow from python console.
14.04
add a comment |
up vote
9
down vote
favorite
I accidentally installed TensorFlow for Ubuntu/Linux 64-bit, GPU enabled.
When I installed with Linux 64-bit CPU only, I am getting Segmentation fault while importing tensorflow from python console.
14.04
Did you try first importing numpy and then importing tensorflow?
– Martin Thoma
May 13 '16 at 21:10
add a comment |
up vote
9
down vote
favorite
up vote
9
down vote
favorite
I accidentally installed TensorFlow for Ubuntu/Linux 64-bit, GPU enabled.
When I installed with Linux 64-bit CPU only, I am getting Segmentation fault while importing tensorflow from python console.
14.04
I accidentally installed TensorFlow for Ubuntu/Linux 64-bit, GPU enabled.
When I installed with Linux 64-bit CPU only, I am getting Segmentation fault while importing tensorflow from python console.
14.04
14.04
asked Apr 27 '16 at 22:57
chandan
156116
156116
Did you try first importing numpy and then importing tensorflow?
– Martin Thoma
May 13 '16 at 21:10
add a comment |
Did you try first importing numpy and then importing tensorflow?
– Martin Thoma
May 13 '16 at 21:10
Did you try first importing numpy and then importing tensorflow?
– Martin Thoma
May 13 '16 at 21:10
Did you try first importing numpy and then importing tensorflow?
– Martin Thoma
May 13 '16 at 21:10
add a comment |
2 Answers
2
active
oldest
votes
up vote
9
down vote
Depends on how you install it considering the fact that there are multiple ways to do it here. Most generic way people do it is through pip, check using:
sudo pip show tensorflow
Uninstall using:
sudo pip uninstall protobuf
sudo pip uninstall tensorflow
Install it using:
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
5
You shall notsudo pip
.
– runDOSrun
May 27 '16 at 12:57
1
@runDOSrun why not?
– Charlie Parker
Jan 14 '17 at 0:22
2
why do you need protobuf to uninstall tensorflow?
– Charlie Parker
Jan 14 '17 at 0:23
1
Why protobuf???
– SmallChess
Jan 13 at 4:01
@PseudoAj Why ??
– SmallChess
Jan 13 at 4:01
|
show 5 more comments
up vote
0
down vote
When running in conda
env or any virtual env sudo doesn't work. So you can use:
python3 -m pip uninstall protobuf
python3 -m pip uninstall tensorflow-gpu
python3 -m
is safest way to ensure that you are using pip3
and not pip2
.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
9
down vote
Depends on how you install it considering the fact that there are multiple ways to do it here. Most generic way people do it is through pip, check using:
sudo pip show tensorflow
Uninstall using:
sudo pip uninstall protobuf
sudo pip uninstall tensorflow
Install it using:
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
5
You shall notsudo pip
.
– runDOSrun
May 27 '16 at 12:57
1
@runDOSrun why not?
– Charlie Parker
Jan 14 '17 at 0:22
2
why do you need protobuf to uninstall tensorflow?
– Charlie Parker
Jan 14 '17 at 0:23
1
Why protobuf???
– SmallChess
Jan 13 at 4:01
@PseudoAj Why ??
– SmallChess
Jan 13 at 4:01
|
show 5 more comments
up vote
9
down vote
Depends on how you install it considering the fact that there are multiple ways to do it here. Most generic way people do it is through pip, check using:
sudo pip show tensorflow
Uninstall using:
sudo pip uninstall protobuf
sudo pip uninstall tensorflow
Install it using:
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
5
You shall notsudo pip
.
– runDOSrun
May 27 '16 at 12:57
1
@runDOSrun why not?
– Charlie Parker
Jan 14 '17 at 0:22
2
why do you need protobuf to uninstall tensorflow?
– Charlie Parker
Jan 14 '17 at 0:23
1
Why protobuf???
– SmallChess
Jan 13 at 4:01
@PseudoAj Why ??
– SmallChess
Jan 13 at 4:01
|
show 5 more comments
up vote
9
down vote
up vote
9
down vote
Depends on how you install it considering the fact that there are multiple ways to do it here. Most generic way people do it is through pip, check using:
sudo pip show tensorflow
Uninstall using:
sudo pip uninstall protobuf
sudo pip uninstall tensorflow
Install it using:
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
Depends on how you install it considering the fact that there are multiple ways to do it here. Most generic way people do it is through pip, check using:
sudo pip show tensorflow
Uninstall using:
sudo pip uninstall protobuf
sudo pip uninstall tensorflow
Install it using:
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
answered Apr 28 '16 at 1:51
PseudoAj
1913
1913
5
You shall notsudo pip
.
– runDOSrun
May 27 '16 at 12:57
1
@runDOSrun why not?
– Charlie Parker
Jan 14 '17 at 0:22
2
why do you need protobuf to uninstall tensorflow?
– Charlie Parker
Jan 14 '17 at 0:23
1
Why protobuf???
– SmallChess
Jan 13 at 4:01
@PseudoAj Why ??
– SmallChess
Jan 13 at 4:01
|
show 5 more comments
5
You shall notsudo pip
.
– runDOSrun
May 27 '16 at 12:57
1
@runDOSrun why not?
– Charlie Parker
Jan 14 '17 at 0:22
2
why do you need protobuf to uninstall tensorflow?
– Charlie Parker
Jan 14 '17 at 0:23
1
Why protobuf???
– SmallChess
Jan 13 at 4:01
@PseudoAj Why ??
– SmallChess
Jan 13 at 4:01
5
5
You shall not
sudo pip
.– runDOSrun
May 27 '16 at 12:57
You shall not
sudo pip
.– runDOSrun
May 27 '16 at 12:57
1
1
@runDOSrun why not?
– Charlie Parker
Jan 14 '17 at 0:22
@runDOSrun why not?
– Charlie Parker
Jan 14 '17 at 0:22
2
2
why do you need protobuf to uninstall tensorflow?
– Charlie Parker
Jan 14 '17 at 0:23
why do you need protobuf to uninstall tensorflow?
– Charlie Parker
Jan 14 '17 at 0:23
1
1
Why protobuf???
– SmallChess
Jan 13 at 4:01
Why protobuf???
– SmallChess
Jan 13 at 4:01
@PseudoAj Why ??
– SmallChess
Jan 13 at 4:01
@PseudoAj Why ??
– SmallChess
Jan 13 at 4:01
|
show 5 more comments
up vote
0
down vote
When running in conda
env or any virtual env sudo doesn't work. So you can use:
python3 -m pip uninstall protobuf
python3 -m pip uninstall tensorflow-gpu
python3 -m
is safest way to ensure that you are using pip3
and not pip2
.
add a comment |
up vote
0
down vote
When running in conda
env or any virtual env sudo doesn't work. So you can use:
python3 -m pip uninstall protobuf
python3 -m pip uninstall tensorflow-gpu
python3 -m
is safest way to ensure that you are using pip3
and not pip2
.
add a comment |
up vote
0
down vote
up vote
0
down vote
When running in conda
env or any virtual env sudo doesn't work. So you can use:
python3 -m pip uninstall protobuf
python3 -m pip uninstall tensorflow-gpu
python3 -m
is safest way to ensure that you are using pip3
and not pip2
.
When running in conda
env or any virtual env sudo doesn't work. So you can use:
python3 -m pip uninstall protobuf
python3 -m pip uninstall tensorflow-gpu
python3 -m
is safest way to ensure that you are using pip3
and not pip2
.
answered Nov 26 at 18:12
Dheeraj M Pai
1066
1066
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f764032%2fhow-to-uninstall-tensorflow-completely%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you try first importing numpy and then importing tensorflow?
– Martin Thoma
May 13 '16 at 21:10