I\'m using Tensorflow-0.8 on Ubuntu14.04. I first install Tensorflow from sources and then setup Tensorflow for development according to the official tutorial. When I want to un
It could be because you didn't install Tensorflow using pip, but using python setup.py develop
instead as your link shows.
pip uninstall
is likely to fail if the package is installed using python setup.py install
as they do not leave behind metadata to determine what files were installed.
Therefore, you should be able to unistall Tensorflow with the option -u
or --unistall
of develop
cd /home/AIJ/tensorflow/_python_build
python setup.py develop --uninstall
To answer for the second (interestring) question about the two dist-package
created under /usr/lib/python2.7
and /usr/local/lib/python2.7
it exists already a great Stack Overflow answer on the topic.
PS: Tensorflow is a good library, you should consider not uninstall it :)
I believe pip isn't installed for python2.7
try :
pip -V
On my system for instance it says :
pip 8.1.2 from /usr/lib/python3.4/site-packages (python 3.4)
So basically using pip uninstall
will only remove packages for python3.4 (and not python2.7).
So I don't use pip binary as such, and rather, call pip module from inside python.
In your case :
python2.7 -m pip uninstall tensorflow