I have Python 3.7 and Python 3.6. How to I chose to which version of Python I want my PIP packages?
4 Answers
I would suggest to use the newer and (now) recommended way of installing Python application dependencies: pipenv. You can consider pipenv to be the better pip (pip + virtualenv handling + proper depedency management). Using pipenv you create a Pipfile and you can specify the exact python_version you want to use in that file. Since I started using pipenv in my projects most headaches I had previously with Python dependency and version management are gone.