Hi, I am attempting to learn Django for my job and am running into problems in the initial installation. I am on a Linux server running CentOS 6.4. I am following the tutorial on the documentation website.
I have installed pip and virtualenv. I am currently in a virtual env called MAP_VIO and I ran the command "pip install Django" which executed successfully, installing version 1.8.2.
However, when I run a Python 2.6 interpreter and try to import Django, I get this syntax error:
When I run command "django-admin.py version", I get a similar error:
When I run Python 3 and try it, I get "ImportError: No module named 'django'".
What is going on, and how do I fix it? I would like to use Python 3 for this project.
Thanks.