i am kind of new to Linux and i have to work with a Linux computer that has just been formatted. i am linked the this server though a SFTP. earlier before formatting this server i was using the commands 'python' and 'pip' when working with python. but now it seems like 'python' uses 2.7 and need to use 'python3' to access the python 3.7.
pretty sure earlier command 'python' used the version 3.6
pip is also another problem. pip in this refers to the 2.7 similarly and pip3 to 3.X but even if i use these commands with 3 the error to update pip confuses me.
> You are using pip version 8.1.1, however version 19.3 is available. > You should consider upgrading via the 'pip install --upgrade pip' command. i tried using the command
pip3 install --upgrade pip then it started giving me this error everytime i try to use pip.
> File "/usr/bin/pip", line 9, in <module> > from pip import main > ImportError: cannot import name main i dont know how to fix this or maybe i was supposed to just ignore the warning. can someone please explain me what is happening and please let me know how i can get this to work with 'python' and 'pip' again if possible.