I have both Python 3.3 and Python 2.7 installed on my computer. The python 3.3 works fine, but when I try to run something using python 2.7, it is still referencing python
I received the same error when I was running my python file using python filename.py my PYTHONPATH was set to use python3
I fixed it by using the below command to run my file
python3 filename.py