Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: filip88 08 Února 2020, 14:27:52

Název: nejde dat prič pip na python2 pomuže odinstalovat cely python ? nebo co mám udel
Přispěvatel: filip88 08 Února 2020, 14:27:52
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
Název: Re:nejde dat prič pip na python2 pomuže odinstalovat cely python ? nebo co mám udel
Přispěvatel: juwa2 08 Února 2020, 15:16:06
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
Název: Re:nejde dat prič pip na python2 pomuže odinstalovat cely python ? nebo co mám udel
Přispěvatel: filip88 08 Února 2020, 19:39:45
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:~#
Název: Re:nejde dat prič pip na python2 pomuže odinstalovat cely python ? nebo co mám udel
Přispěvatel: juwa2 09 Února 2020, 07:50:42
Kód: [Vybrat]
sudo pip uninstall pip
Kromě toho můžeš libovolný balík odinstalovat v Synapticu.