I'm running CentOS, and it has pre-installed Python 2.6.6. But I want to use Python 3.5, the latest version. So I have installed Python 3.5 on my server. It's working properly.
I just compile Python code like this:
These commands compile my code with the specific versions.
But I want to install Django with Python 3.5.1. For example, if I use
pip install Django
I know it will install Django, but will it install Django with pre-installed Python 2.6 or the latest 3.5?
How can I force
pip to install Django with Python 3.5?