Tensorflow: why 'pip uninstall tensorflow' cannot find tensorflow

前端 未结 2 1264
我在风中等你
我在风中等你 2021-02-12 16:19

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

2条回答
  •  一向
    一向 (楼主)
    2021-02-12 16:50

    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
    

提交回复
热议问题