Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: nejde dat prič pip na python2 pomuže odinstalovat cely python ? nebo co mám udel  (Přečteno 2014 krát)

filip88

  • Návštěvník
  • Příspěvků: 9
filip@filip-Lenovo-ideapad-110-15ISK:~/Plocha$ sudo pip uninstall pip
The directory '/home/filip/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr

juwa2

  • Závislák
  • ***
  • Příspěvků: 4951
Píše ti to, že máš převzít vlastnictví té složky na sebe. Uděláš to pomocí chown
Kód: [Vybrat]
sudo chown -R filip:filip /home/filip/.cache/pip/http

filip88

  • Návštěvník
  • Příspěvků: 9
nejde
filip@filip-Lenovo-ideapad-110-15ISK:~$ sudo pip uninstall
[sudo] heslo pro filip:
fThe directory '/home/filip/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
You must give at least one requirement to uninstall (see "pip help uninstall")
filip@filip-Lenovo-ideapad-110-15ISK:~$ sudo -h pip uninstall pip
sudo: nelze přeložit název stroje pip
sudo: uninstall: příkaz nenalezen
filip@filip-Lenovo-ideapad-110-15ISK:~$ sudo chown -R filip:filip /home/filip/.cache/pip/http
filip@filip-Lenovo-ideapad-110-15ISK:~$ sudo -h pip uninstall pip
sudo: nelze přeložit název stroje pip
sudo: uninstall: příkaz nenalezen
filip@filip-Lenovo-ideapad-110-15ISK:~$ sudo pip uninstall pip
The directory '/home/filip/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
filip@filip-Lenovo-ideapad-110-15ISK:~$ sudo -s
root@filip-Lenovo-ideapad-110-15ISK:~# sudo chown -R filip:filip /home/filip/.cache/pip/http
root@filip-Lenovo-ideapad-110-15ISK:~# pip uninstall pip
The directory '/home/filip/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
root@filip-Lenovo-ideapad-110-15ISK:~#

juwa2

  • Závislák
  • ***
  • Příspěvků: 4951
Kód: [Vybrat]
sudo pip uninstall pip
Kromě toho můžeš libovolný balík odinstalovat v Synapticu.

 

Provoz zaštiťuje spolek OpenAlt.