I have program that requires Python 3, but I develop Django and it uses Python 2.
What to do, to use both of them
I have program that requires Python 3, but I develop Django and it uses
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Install both. Python 3 uses a different executable name so the two won’t conflict and the Debian python policy (adopted by Ubuntu) states that the two major versions are to be kept as separate architectures.
Python versions are installed with the major and minor version number (python2.7, python3.2), but Ubuntu will create
pythonandpython3aliases for your python 2 and python 3 installations (linked topython2.7andpython3.2respectively).Your Django development will continue to use
pythonand your Python 3 program will usepython3.