how to properly remove python2 after pip installed it
-
Hello,
board: omega2+
firmware: 0.3.4 b259i upgraded my omega2+ => OK.
python was not installed anymore => OK .
i installed it usingopkg install python3
=> OK
after that i noticed that pip was not here neither.
I unfortunately usedopkg install python-pip
INSTEAD ofopkg install python3-pip
I saw it installing python-base ... python-light, etc ... strange.
I realised that it had installed python2
So then i wanted to revert so i didopkg remove python-pip
=>ok : 'Removing package python-pip from ...'then i did
opkg remove python
Then Omega says:No packages removed. Collected errors: * print_dependents_warning: Package python is depended upon by packages: * print_dependents_warning: python-setuptools * print_dependents_warning: These might cease to work if package python is removed. * print_dependents_warning: Force removal of this package with --force-depends. * print_dependents_warning: Force removal of this package and its dependents * print_dependents_warning: with --force-removal-of-dependent-packages.
I think that pip 2 is gone already but i still see directories and packages for python2.
The question is: how to properly remove python2 and its components and keep python3 and pip 3
i think about doingopkg remove python
thenopkg remove python3
to get all out then re install usingopkg install python3
thenopkg install python3-pip
What do you think ?Thank you for your help !