ptvs

VS 2015 Python Environments Greyed Out


I'm just getting started with Python and I want to use Visual Studio 2015 Community Edition (VS) for writing my code. However, after diligently following the instructions on GitHub (1) Install PTVS 2.2.2 (2) Install Windows Python 3.4.4, VS cannot find the Python interpreter and run the code. When I attempt to do so for VS manually via Options > Python Tools > Environment Option, all the buttons are greyed out (I cannot enter information) as well as the Python Environment Window

See Screenshot

I've tried uninstalling, reinstalling, repairing and modifying VS, PTVS and Python 3.4 but to no avail. Is there something I'm missing? Much appreciate the help!


Solution

    1. Right-tap the lower-left corner and choose Run in the Quick Access Menu.
    2. Type regedit and tap OK in the Run dialog. Go to: KEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\PythonTools\Interpreters
    3. Delete or Rename folder in this directory (you can see that some keys are referring to the 3.6 version).
    4. Start Visual Studio 2015.