As explained in title.
Things I've already tried out that didn't work:
pip install --upgrade pipbrew postinstall [email protected]wget https://bootstrap.pypa.io/get-pip.py, followed bysudo python3.7 get-pip.py(the second command doesn't work)
Consulted articles: How to install PIP on Python 3.6?, more
so far, I've been running whatever I've pip installed in a file that contains python packages by running python [filename.py], rather than python3. So it works fine right now but I want to use python3, since python 2.7 is deprecated anyway
pipgets locked to a version of python. On my system, for example,pipinstalls for2.7andpip3for3.7. If you've installed python3.x.x then you havepip3and you can use that to install packages. Similarly you can usepython3to run your scripts. Better not to override the system'spipbecause it can break things likeapton linuxpython3 -m ensurepipand then usepip3 install ....