3

First I thought this is a version problem, so I downgraded the version from python 3.5 to 2.7 but still it didn't work. The same error "Unsupported python version 3.5". Please help. Note: I've installed the plugin for python in visual studio stated as "PTVS 2.1 VS 2013" (which is the latest according to visual studio's website.)

Pavel Minaev
  • 99,783
  • 25
  • 219
  • 289

1 Answers1

2

If you go to Debug | Options and Settings | Python Tools | Environment Options, you can set it to use Python 2.7 (that is, it is not necessary to uninstall Python 3.5). PTVS seems to default to the latest installed version of Python even if it is not compatible with it.

enter image description here

Andrew
  • 721
  • 4
  • 14