PTVS 2.2.2

@zooba zooba released this Nov 24, 2015

Release notes for PTVS 2.2.2

We're pleased to announce the release of Python Tools 2.2.2 for Visual Studio.

Python Tools for Visual Studio (PTVS) is an open-source plug-in for Visual Studio which supports programming with the Python language. It lets you bring your own Python interpreter, including CPython, IronPython, PyPy, and more, and supports a broad range of features from editing with IntelliSense to interactive debugging, profiling, interactive REPLs with support for IPython, cross-platform and cross-language debugging support, and deployment to Microsoft Azure.

We also have a Sample Pack containing extra templates for Django, Flask and Bottle web sites, PyKinect for using Kinect for Windows, and PyVot for interacting with Excel. Our Machine Learning Pack contains some samples for the scikit-learn library and Python code generation for Azure Machine Learning web services.


Download Type Size (KB)
Python Tools for VS 2015 MSI 6696KB
Python Tools for VS 2013 MSI 6476KB
Sample Pack VSIX 1606KB
Machine Learning Pack VSIX 105KB


PTVS 2.2.2 requires one of the following versions of Visual Studio:

You will also need to install one or more Python interpreters. See our help page for assistance choosing a version of Python if you do not already have one.

Improvements for 2.2.2

PTVS 2.2.2 is primarily a bug fix release, so no new functionality has been added. However, Visual Studio 2015 Update 1 includes improvements to Python interactive windows that require PTVS 2.2.2 to avoid compatibility issues.

The following significant issues have been resolved:

  • Fixed incompatibilities with Visual Studio 2015 Update 1
  • #712 Don't add Unicode BOM by default
  • #664 Profiler does not handle UTF-8 BOM
  • #810 Referencing multiple extension modules does not work
  • #926 Cannot open file when coding comment does not match actual encoding

Known Issues

  • #523 Invalid digital signature on VSIX in VS 2015
  • #597 Extract Method does not appear on the editor context menu
  • #1014 Syntax highlighting in Django templates displays error

Your feedback and suggestions are much appreciated. To report issues or to review the complete list of known issues for this release, please visit our issues page.

Where was PTVS 2.2.1?

We had 2.2.1 all ready to release, but found some last minute bugs that needed fixing. However, we had already included the buggy version on the VS 2015 Update 1 ISO. Since it is too late to update that release, we've had to go to the next version.

These fixes are only in PTVS 2.2.2. If you installed Visual Studio 2015 Update 1, you may see these issues until you install PTVS 2.2.2.

  • #976 IPython REPL will not start when startup script specified
  • #979 Crash opening mixed Python/C solution


The WFastCgi tool for hosting Python websites on servers running IIS can now be found on PyPI.

Visual Studio 2010 and 2012

PTVS 2.2 no longer support Visual Studio prior to Visual Studio 2013. If you are unable to obtain any of the editions of Visual Studio 2015 or 2013, the last release of PTVS for Visual Studio 2010 and 2012 was PTVS 2.1.1.