Skip to main content
grammar clean up
Source Link
depquid
  • 4k
  • 1
  • 24
  • 36

I'm running CentOS, and it has pre-instaledinstalled 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. itIt's working properly. 

I just compile Python code like this:

Python 2.6:

python file.py

Python 3.5:

python3.5 file.py

These command compilescommands compile my code with the specific versionversions.

Question isBut I want to install Django with latest Python 3.5.1. for For example, if I use

pip install Django

I know it will install Django, but where it will it install Django with pre-installed pythonPython 2.6 andor the latest 3.5?

One more thing, how IHow can I force Pip toppip to install djangoDjango with Python 3.5  ?

I'm running CentOS, and it has pre-instaled Python 2.6.6. But I want to use Python 3.5 latest version. So I have installed Python 3.5 on my server. it working properly. I just compile Python code like

Python 2.6

python file.py

Python 3.5

python3.5 file.py

These command compiles my code with specific version.

Question is I want to install Django with latest Python 3.5.1. for example I use

pip install Django

I know it will install Django, but where it will install Django with pre-installed python 2.6 and latest 3.5?

One more thing, how I can force Pip top install django with Python 3.5  ?

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:

Python 2.6:

python file.py

Python 3.5:

python3.5 file.py

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?

deleted 26 characters in body
Source Link
Anthon
  • 81.4k
  • 42
  • 174
  • 228

Currently i'mI'm running CentOS, and it has pre-instaled Python 2.6.6. But iI want to use Python 3.5 latest version. So iI have installed Python 3.5 on my server. it working properly. iI just compile Python code like

Python 2.6

python file.py

Python 3.5

python3.5 file.py

These command compiles my code with specific version.

Question is iI want to install Django with latest Python 3.5.1. for example iI use

pip install Django

iI know it will install Django, but where it will install Django with pre-installed python 2.6 and latest 3.5  ?

oneOne more thing, how iI can force Pip top install django with Python 3.5 ?

Thanks

Currently i'm running CentOS, and it has pre-instaled Python 2.6.6. But i want to use Python 3.5 latest version. So i have installed Python 3.5 on my server. it working properly. i just compile Python code like

Python 2.6

python file.py

Python 3.5

python3.5 file.py

These command compiles my code with specific version.

Question is i want to install Django with latest Python 3.5.1. for example i use

pip install Django

i know it will install Django, but where it will install Django with pre-installed python 2.6 and latest 3.5  ?

one more thing, how i can force Pip top install django with Python 3.5 ?

Thanks

I'm running CentOS, and it has pre-instaled Python 2.6.6. But I want to use Python 3.5 latest version. So I have installed Python 3.5 on my server. it working properly. I just compile Python code like

Python 2.6

python file.py

Python 3.5

python3.5 file.py

These command compiles my code with specific version.

Question is I want to install Django with latest Python 3.5.1. for example I use

pip install Django

I know it will install Django, but where it will install Django with pre-installed python 2.6 and latest 3.5?

One more thing, how I can force Pip top install django with Python 3.5 ?

Source Link

CentOS: How to force pip to install Django with latest Python 3.5

Currently i'm running CentOS, and it has pre-instaled Python 2.6.6. But i want to use Python 3.5 latest version. So i have installed Python 3.5 on my server. it working properly. i just compile Python code like

Python 2.6

python file.py

Python 3.5

python3.5 file.py

These command compiles my code with specific version.

Question is i want to install Django with latest Python 3.5.1. for example i use

pip install Django

i know it will install Django, but where it will install Django with pre-installed python 2.6 and latest 3.5 ?

one more thing, how i can force Pip top install django with Python 3.5 ?

Thanks