Python Tools for Visual Studio

Overview

Python tools for Visual Studio

Python support for Visual Studio is developed and managed here.

Visit our product overview and downloads page, read our documentation and watch our (old) YouTube tutorials.

Feel free to file issues or ask questions on our issue tracker, or use the Send Feedback functionality in Visual Studio to report a problem or suggest a feature.

We welcome code contributions - see Contributing for information. Documentation contributions may be made at the visualstudio-docs repository.

Join the chat at https://gitter.im/Microsoft/PTVS

Visual Studio 2017 and Visual Studio 2019 installation

The Python development workload is available as part of Visual Studio Community, Professional and Enterprise. To install, run the normal VS installer and select either the Python development workload or the Data science and analytical applications workload.

Visual Studio 2015 and earlier

Prior to Visual Studio 2017, Python support was released as a standalone extension. We are no longer actively developing these versions, but if you are unable to upgrade to Visual Studio 2017 yet, you can use these older installers to get Python support.

PTVS 2.2.6 is the latest available version for Visual Studio 2015. You can also find it in the Visual Studio 2015 installer by selecting "Custom" and looking under the "Programming Languages" category.

PTVS 2.2.2 is the last release for Visual Studio 2013 users.

Thank you for using and supporting Python Tools for Visual Studio.

Comments
  • No Official Python 3.8 Support for Visual Studio 16.4

    No Official Python 3.8 Support for Visual Studio 16.4

    While we work to fully support code analysis for the recent inclusions to Python 3.8, below are a list of the language-specific features that our parser will not be able to recognize and will surface as ‘red squiggles’ in the IDE:

    Assignment ExpressionsPositional-Only Parametersf-strings debug specifier support

    Using any one of these features may trigger a warning message when you launch the project:

    image

    To avoid this, disable the warning by navigating to Tools > Options > Python > Debugging and deselecting the option Prompt before running when errors are present.

    Moreover, for f-strings support, our current code analysis will not offer completions.

    There are also some known issues with using the legacy debugger to attach to a running Python process (see GH5853).

    The following capabilities that you know and love will continue to function as normal in Visual Studio for python environments such as:

    • Debugging (both Native Debugging and Standard Debugging) • Virtual/Conda Environments • Package Manager • Testing (pytest and unittest, Code Coverage) • Interactive Window • Intellisense in most scenarios

    opened by Anapo14 78
  • PTVS 2.2 Unit Tests not Running in VS Community 2015

    PTVS 2.2 Unit Tests not Running in VS Community 2015

    Please refer to these entries:

    http://stackoverflow.com/questions/31766967/ptvs-2-2-unit-tests-not-running https://connect.microsoft.com/VisualStudio/feedback/details/1622525

    bug 
    opened by claytoncarney 39
  • Msbuild Python project fail from command line, but build from VS UI succeed

    Msbuild Python project fail from command line, but build from VS UI succeed

    Hi, I have a very simple Python project, which can be built succeed in Visual Studio UI. But if I build using command line "msbuild.exe CloudServiceWebRole.pyproj", it fail with below error: Do you know the reason? Thanks

    ...
    D:\...\Python Tools\Microsoft.PythonTools.Web.targets(235,5): error MSB4018:
    The "ResolveEnvironment" task failed unexpectedly.
    System.ComponentModel.Composition.CompositionException: The composition produced
    a single composition error. The root cause is provided below. Review the
    CompositionException.Errors property for more detailed information.
    
    1) Could not load file or assembly 'Microsoft.VisualStudio.Settings.12.0,
    Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of
    its dependencies. The system cannot find the file specified.
    ...
    
    enhancement 
    opened by lezi226 35
  • VS 2022 with a python project starts Node.exe using one CPU core

    VS 2022 with a python project starts Node.exe using one CPU core

    This issue has been moved from a ticket on Developer Community.


    [severity:Other] [regression] [worked-in:VS 2019] Launching VS 2022 with an existing python project causes Node.exe to fully use one cpu core right from the launch.

    Command Line Details from task manager: Name PID Status User name CPU Memory (active private working set) Command line node.exe 13364 Running Admin 13 231’580 K "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VisualStudio\NodeJs\win-x64\node.exe" "c:\program files\microsoft visual studio\2022\community\common7\ide\extensions\microsoft\python\core\pylance\dist\pylance-langserver.bundle.js" -- --stdio --cancellationReceive=file:f405eec7fac440bd8dc95a957535557a


    Original Comments

    Feedback Bot on 1/3/2022, 11:06 PM:

    We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


    Original Solutions

    Graham Wheeler [MSFT] solved on 1/10/2022, 10:42 AM, 0 votes:

    This is by design. VS 2022 uses Pylance as the Intellisense engine which requires node.js.

    Jörg Gerigk on 1/13/2022, 00:13 AM:

    Apologies, I seem to have not been clear in my description. node.js uses 20% of CPU time after launching this python project, e.g. about 2 cores on my machine. Each time that is and ad infinitum. This is the very definition of a problem as I doubt that an idling Visual Studio is designed to burn through CPU cycles like this.

    Could you please look into this? I am happy to provide further information to get this resolved.

    fixed in next version 
    opened by vsfeedback 32
  • Intellisense fails to scrape modules from other projects

    Intellisense fails to scrape modules from other projects

    Upgraded to VS2017 15.4.2 today, was pleased that error highlighting has been fixed. However, modules still fail to import from other projects.

    Steps to reproduce:

    • Install VS2017 15.4.2 with Python Support
    • Create new solution with project inside (here, its called PythonApplication1)
    • Create another project in the solution (here, its called other_module), with other_project.py inside.
    • Add to PythonApplication1's Search Paths the directory of other_module.
    • Attempt to import other module.
    • Observe failure of Intellisense to recognize other_module.
    • Refreshing DB does nothing. Adding other_module to References does nothing.

    Screenshots of various behaviors observed: 3 4 5 6

    Importing modules from other projects was supported at one time, so I assume this is a bug. I still have one computer with VS2017 15.3 on it, everything works great in that version.

    Here is the gist of the python tools diagnostic https://gist.github.com/joseortiz3/def9d14386aa82ec176401d88cff1013

    My setup: Anaconda 5.0.0, Python 3.6, VS2017 Community install with Python Tools option without optional Python 3.6

    bug P0 
    opened by joseortiz3 30
  • Allow user customization of type stubs (for example to help with completions when using IronPython).

    Allow user customization of type stubs (for example to help with completions when using IronPython).

    VS Version: 28526.9.d16.0stg Python Tool Version: 16.0.19026.2 Repro step: 1.Create an IronPython WPF Application 2.Drag & drop a button to the Design view 3.Check the IntelliSense in the .py file a. From System.Windows import MessageBox b. In the Button_Click handler, add a call to MessageBox.Show() c. Signature info tooltip shows all overloads

    expect result: a. code coloring with Messagebox b. when type MessageBox. , Show() should appear automatically c. signature info tooltip shows with MessageBox

    actual result: a. no code coloring with Messagebox b. no completions when type MessageBox. c. no signature info tooltip shows with MessageBox image

    bug 
    opened by zhouwangyang 29
  • Use type hints in Python 3.x to infer variable types if possible

    Use type hints in Python 3.x to infer variable types if possible

    Even though Python ignores type hints at runtime and they can be pretty much any expression, we should use them to infer variable types in a function if we possibly can.

    See PEP 484

    (Migrated from https://pytools.codeplex.com/workitem/394)

    opened by zooba 29
  • "The reference assemblies for .NETFramework,Version=v4.0 were not found" appeared in Python project.

    Describe the bug

    image

    Steps to Reproduce

    Create a Python Application project.

    Expected behavior

    It should be created successfully without any errors.

    Additional context and screenshots

    An error appears in the error list.

    image

    Installation details

    image

    P1 fixed in next version 
    opened by ttSpace 26
  • Debugger silently calls __iter__() and next()

    Debugger silently calls __iter__() and next()

    Try to debug this code:

    import os
    class MyIterator(list):
    	def __iter__(self): return self
    	def next(self): os._exit(1)
    a = MyIterator()
    print(a)   # put a breakpoint here
    

    You will find that the debugger will quit before you even attempt to do anything.

    This should not happen. If the debugger insists on iterating through members of every subclass of list silently, then it should really call list.__iter__(instance) rather than iter(instance). Otherwise it breaks debugging on the entire codebase, since the iterator is silently consumed and hence the program no longer behaves correctly when stepping through.

    Note that similar problems probably exist for other types, not just list. More generally, I think the debugging experience of subclasses of basic types needs improvement; it is currently not robust.

    (This bug probably touches on similar aspects of the debugger as #3505.)

    bug P1 
    opened by mehrdadn 26
  • [3dsmax][Maya] Intellisense works for a moment, then all modules become <unknown type>

    [3dsmax][Maya] Intellisense works for a moment, then all modules become

    Hi all:

    I'm trying to get 3ds max 2015 working with Intellisense in PTVS. I have VS 2013 installed.

    I configured the python interpreter to use the same paths that I do in PyCharm, and set the project search paths the same way, along with also setting the project references to a _MaxPlus.pyd file as well. When I first open my python project using the default Python interpreter and then open my 3ds max project, initially I am able to actually get intellisense working for the MaxPlus module and other built-in modules such as sys, os etc, and able to even get auto-completions working. However, after a few seconds, suddenly all auto-completions will stop, and I will get the No completions dialog, along with everything, even builtins such as sys and os showing unknown type.

    Clearly, things are working before something happens in the background that breaks everything related to Intellisense, so could anyone point me as to how I might resolve/narrow down what's causing this issue? I have tried refreshing the db as well, but that has not helped.

    How I have my Python Project set up: http://i.imgur.com/hokUFi2.png

    How I have the 3ds max python interpreter configured: http://i.imgur.com/HySEXjs.png

    I should point out here that I have used the same paths and .pyd file to get 3ds max auto-completion working in both PyCharm and Wing IDE flawlessly; this is my first time trying to use PTVS with 3ds max however, so if anyone spots me doing something incorrect in the setup here, I'd appreciate some pointers.

    UPDATE: I attempted the workaround as detailed here: https://pytools.codeplex.com/workitem/3005 by setting HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\PythonTools\Options\[email protected] to 10000. I also tried installing the latest development release of PTVS. The odd thing is that sometimes I do get intellisense working on certain modules such as MaxPlus, sometimes not. Additionally, I have issues with modules that say they have been indexed in the database such as PySide, but when I do an import statement such as import PySide, they show themselves as unknown type again as well. Builtins such as sys, os, ctypes etc. seem to work now though.

    The last thing is that I tried adding one of my current production 3ds max projects to PTVS, but for some reason, even though the PYTHONPATH and search paths are set up exactly the same way as I have them in PyCharm, my modules seem to be incorrectly trying to reference a folder level that they shouldn't be when determining the module root folder, and this is using a virtualenv as well.

    A screenshot of that project and its search paths is as shown here: http://i.imgur.com/9QReX5i.png

    I'm expecting to be able to do a import stkToolkit_3dsmax and have the module have Intellisense on it, but somehow it seems to be taking scripts (the solution's parent folder) as the top-level module for some reason.

    Anyone got any idea on what might be causing this issue, I'd love to have your input (on top of the general slowdown in PTVS, such as almost-hanging when right clicking on items in my solution explorer as well)

    Thanks!

    opened by sonictk 26
  • Pylance integration

    Pylance integration

    Replace the old out-of-proc custom analyzer with LSP compliant Pylance language server that is now available in preview for VS Code.

    Replace the old custom implementation of editor functionality like IntelliSense, Find All References, Goto Definition, Outlining, Refactor Rename, etc with the Visual Studio "Language Client" implementation, which is a reusable adapter that implements those features for LSP compliant language servers.

    Epic 
    opened by qubitron 25
  • error

    error

    [Window Title] devenv.exe

    [Main Instruction] An unexpected error occurred

    [Content] Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.

    [V] Show details [Close]

    [Expanded Information]

    Build: 17.0.22263.6
    
    System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\Lib'.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileSystemEnumerableIterator`1.CommonInit()
       at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
       at System.IO.Directory.EnumerateDirectories(String path, String searchPattern, SearchOption searchOption)
       at Microsoft.PythonTools.Interpreter.PackageManagerFactoryExtensions.<GetModulesInLib>d__1.MoveNext()
       at Microsoft.PythonTools.Interpreter.PackageManagerFactoryExtensions.<>c__DisplayClass0_0.<HasModuleAsync>b__0()
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.PythonTools.Interpreter.PackageManagerFactoryExtensions.<HasModuleAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.PythonTools.Environments.AddVirtualEnvironmentView.<UpdateInterpreterAsync>d__109.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.PythonTools.Infrastructure.VSTaskExtensions.<HandleAllExceptions>d__5.MoveNext()
    
    needs triage 
    opened by guido100uk 0
  • Python debug: invalid condition in a breakpoint makes VS stuck in the error dialog

    Python debug: invalid condition in a breakpoint makes VS stuck in the error dialog

    This issue has been moved from a ticket on Developer Community.


    [severity:It's more difficult to complete my work] If a condition in a breakpoint in Python code cannot be evaluated, there's no way to disable or edit it during a debug run, or otherwise exit the debugger, other than closing an error dialog on every (out of possibly very many) its popup.


    Original Comments

    Feedback Bot on 12/11/2022, 06:40 PM:

    (private comment, text removed)


    Original Solutions

    (no solutions)

    needs triage 
    opened by vsfeedback 0
  • The variable is not visible after the match statement.

    The variable is not visible after the match statement.

    This issue has been moved from a ticket on Developer Community.


    On the Python 3.11 64-bit interpreter in Microsoft Visual Studio Enterprise 2019 Version 16.11.21. The variable is not visible after the match statement in the development environment. Throws an error in the context "unexpected token 'number'".


    Original Comments

    Feedback Bot on 12/11/2022, 06:46 PM:

    (private comment, text removed)


    Original Solutions

    (no solutions)

    waiting for response 
    opened by vsfeedback 3
  • Visual studio 2022 can't install extensions (IronPython or AlterNet Studios)

    Visual studio 2022 can't install extensions (IronPython or AlterNet Studios)

    I have the updated community version of Visual studio 2022 It is working perfectly. Except from the extensions. I wanted to make an app using the wpf .net thing on visual studio because its really good for that. And i really wanted to code it in python but then i realized visual studio does not have wpf for python.

    So then i tried to download it from other sources. First i downloaded it from the official IronPython Github (the most recent version) And i did the installer and it looked like it should of worked. Iron python is meant to show up in visual studio when you make a new file but it did not. So then i searched IronPython on my computer and i could run it in the command prompt version but not in visual studio.

    Next i tried to download alternet studios using the visual studio extensions installer. Which then took me to the website and after i installed it and i could run it in its own app i checked visual studio and it said it was installed but it would not let me make a python wpf .net file like i was meant to be able too. It was like i installed the extension but it did not do anything (it said it was enabled) I looked at loads of youtube videos and searched it up but none of the ideas solved it because they were not the problem.

    Thanks for the help.

    waiting for response 
    opened by Dumb9 1
  • Changing error messages - differences in reported errors between VS and pyright cli

    Changing error messages - differences in reported errors between VS and pyright cli

    Describe the bug After starting n (1<= n <= 10) debug sessions, the reported errors change. Usually at this point in time, the Output-Pylance entry in the drop-down menu disappears

    Steps to Reproduce Open project - Errors reported: image

    Start debug sessions. After a couple of runs, error reporting will change: image (this has nothing to do with the current problems with flask, another project not using flask exhibits the same behavior) The change in error reporting always happens, surprisingly this time the output-pylance entry did not disappear:

    image Notable difference is the line saying "no source files found"

    Editing code yields new error messages but only on the new baseline. The initially reported errors are still there but do not get reported. image

    Expected behavior Stable and reliable reporting of errors

    Additional context and screenshots I have not been able to force output-pylance to disappear, after some debug sessions it is gone.

    Configuration information (If you are providing a diagnostics file (see below), skip this section) ` image

    needs triage 
    opened by excubo-jg 2
  • Terminal prompts are disabled when cloning a GitHub repository

    Terminal prompts are disabled when cloning a GitHub repository

    Describe the bug

    image

    Steps to Reproduce

    1. Open Cookiecutter Explorer.
    2. Load the following template: https://github.com/doesnt/exist

    Expected behavior

    You should be prompted to log in with your account.

    Additional context and screenshots

    No prompt window to log in. An error is displayed in the output window.

    image

    Logs

    Output for General in the Output panel

    ----- Cloning template 'https://github.com/doesnt/exist' -----
    Cloning into 'exist'...
    warning: could not find UI helper 'GitHub.UI'
    fatal: Cannot prompt because terminal prompts have been disabled.
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
    git.exe returned an exit code of 128.
    ----- Failed to clone template 'https://github.com/doesnt/exist' -----
    

    needs investigation 
    opened by ttSpace 0
Releases(v2.2.6)
  • v2.2.6(Jan 24, 2017)

    Release notes for PTVS 2.2.6

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

    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.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6848KB | | Sample Pack | VSIX | 1592KB | | Machine Learning Pack | VSIX | 111KB |

    Requirements

    PTVS 2.2.6 requires Visual Studio 2015 Community or higher, Express for Desktop or Express for Web. Update 3 is recommended.

    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.

    Fixes for 2.2.6

    PTVS 2.2.6 is a critical bug fix release, so no new functionality has been added.

    The following significant issues have been resolved:

    • Fixes errors when auto-configuring Python 3.6 (issues #1565, #1994 and #2005)
      • Note that Python 3.6 is still not supported by this release. This fix merely prevents a crash when unsupported versions are configured as custom environments.
    • Fixes interpreter link crashing when path variable not set (issue #2010)

    Earlier Visual Studio Versions

    PTVS 2.2.3 and later do not support Visual Studio 2013. If you are unable to obtain any of the editions of Visual Studio 2015, the last release of PTVS for Visual Studio 2013 was PTVS 2.2.2 and for Visual Studio 2010 and 2012 was PTVS 2.1.1.

    Source code(tar.gz)
    Source code(zip)
  • v2.2.6-rc(Jan 4, 2017)

    Release notes for PTVS 2.2.6 RC

    We're pleased to announce the release of Python Tools 2.2.6 RC for Visual Studio 2015.

    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.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6848KB | | Sample Pack | VSIX | 1592KB | | Machine Learning Pack | VSIX | 111KB |

    Requirements

    PTVS 2.2.6 RC requires Visual Studio 2015 Community or higher, Express for Desktop or Express for Web. Update 3 is recommended.

    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.

    Fixes for 2.2.6

    PTVS 2.2.6 is a critical bug fix release, so no new functionality has been added.

    The following significant issues have been resolved:

    • Fixes errors when auto-configuring Python 3.6 (issues #1565, #1994 and #2005)
      • Note that Python 3.6 is still not supported by this release. This fix merely prevents a crash when unsupported versions are configured as custom environments.
    • Fixes interpreter link crashing when path variable not set (issue #2010)

    Earlier Visual Studio Versions

    PTVS 2.2.3 and later do not support Visual Studio 2013. If you are unable to obtain any of the editions of Visual Studio 2015, the last release of PTVS for Visual Studio 2013 was PTVS 2.2.2 and for Visual Studio 2010 and 2012 was PTVS 2.1.1.

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0-preview5(Oct 7, 2016)

    We're pleased to announce the release of Visual Studio "15" Preview 5 with Python language support.

    Python tools and language support for Visual Studio includes open-source plug-ins for Visual Studio and distributions to support programming with the Python language. It also 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, package management with Pip, and deployment to Microsoft Azure.

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

    Requirements and Installation

    Python support is available as part of Visual Studio "15" Preview 5.

    vs15preview5install1

    Visual Studio "15" introduces the concept of scenario-specific workloads. Depending on your use cases, you can get Python support by selecting either the Python Development workload or the Data Science and Analytics workload.

    Improvements

    • Intellisense improvements.
    • REPL Improvements - Ctrl+Enter shortcut and code cells.
    • Interactive Entry Points – create and pick backend for an arbitrary number of interactive windows with a single entry point.
    • Project template for creating C extensions.
    • Completions for file name.
    • Shared assemblies for common code.
    • Numerous editor, debugger, and core experience bug fixes.

    The following significant issues have been resolved since the last preview:

    • Formatting document (ctrl-k,d) removes async keyword in front of "async for"
    • PEP 526 Syntax support
    • NullReferenceException when clicking "Install Python Package" without Python Environments window

    Known Issues

    • Build fails when Lightweight Project Load is enabled
    • Profiling
    • Install from requirements.txt command doesn't prompt for elevation
    • Can't create virtual environment on Data Science workload Anaconda
    • Package uninstall from solution explorer doesn't prompt to elevate
    • Double backslash in Python environments prevent from opening interpreter folder
    • Profiling doesn't work on dev15

    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.

    Earlier Visual Studio Versions

    If you are unable to obtain any of the editions of Visual Studio "15", the last release of PTVS for Visual Studio 2015 was PTVS 2.2.5, the last release of PTVS for Visual Studio 2015 was PTVS 2.2.2 and for Visual Studio 2010 and 2012 was PTVS 2.1.1.

    Source code(tar.gz)
    Source code(zip)
  • v2.2.5post1(Aug 29, 2016)

    Release notes for PTVS 2.2.5

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

    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.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6844KB | | Sample Pack | VSIX | 1592KB | | Machine Learning Pack | VSIX | 111KB |

    Requirements

    PTVS 2.2.5 requires Visual Studio 2015 Community or higher, Express for Desktop or Express for Web. Update 3 is recommended.

    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.5

    PTVS 2.2.5 is a critical bug fix release, so no new functionality has been added.

    The following significant issues have been resolved:

    • Fixes some race conditions when opening projects (issues #1411 and #1415)

    Known Issues

    • #523 Invalid digital signature on VSIX in VS 2015

    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.

    WFastCgi

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

    Earlier Visual Studio Versions

    PTVS 2.2.5 and later will not support Visual Studio 2013 or earlier. If you are unable to obtain any of the editions of Visual Studio 2015, the last release of PTVS for Visual Studio 2013 was PTVS 2.2.2 and for Visual Studio 2010 and 2012 was PTVS 2.1.1.

    Source code(tar.gz)
    Source code(zip)
  • v2.2.5-rc(Aug 5, 2016)

    Release notes for PTVS 2.2.5 RC1

    We're pleased to announce a release candidate for Python Tools 2.2.5 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.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6844KB | | Sample Pack | VSIX | 1592KB | | Machine Learning Pack | VSIX | 111KB |

    Requirements

    PTVS 2.2.5 RC1 requires Visual Studio 2015 Community or higher, Express for Desktop or Express for Web. Update 3 is recommended.

    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.5

    PTVS 2.2.5 is a critical bug fix release, so no new functionality has been added.

    The following significant issues have been resolved:

    • Fixes some race conditions when opening projects (issues #1411 and #1415)

    Known Issues

    • #523 Invalid digital signature on VSIX in VS 2015

    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.

    WFastCgi

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

    Earlier Visual Studio Versions

    PTVS 2.2.5 and later will not support Visual Studio 2013 or earlier. If you are unable to obtain any of the editions of Visual Studio 2015, the last release of PTVS for Visual Studio 2013 was PTVS 2.2.2 and for Visual Studio 2010 and 2012 was PTVS 2.1.1.

    Source code(tar.gz)
    Source code(zip)
  • dev-2016-07-08(Jul 8, 2016)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6088KB |

    • While this dev build is available for Visual Studio 2015, we are planning for our next release to only support VS "15". Please email [email protected] with details of your need if you believe you will be severely impacted.
    • No new feature releases for VS 2013 are planned.
    Source code(tar.gz)
    Source code(zip)
  • v2.2.4(Jun 27, 2016)

    Release notes for PTVS 2.2.4

    We're pleased to announce the release of Python Tools 2.2.4 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.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6848KB | | Sample Pack | VSIX | 1592KB | | Machine Learning Pack | VSIX | 111KB |

    Requirements

    PTVS 2.2.4 requires Visual Studio 2015 Community or higher, Express for Desktop or Express for Web. Update 3 is recommended.

    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.4

    PTVS 2.2.4 is a bug fix release, so no new functionality has been added.

    The following significant issues have been resolved:

    • Azure Web App remote debug command now displays a help page instead of automatically connecting (or, more likely, doing nothing at all)
    • Default indentation is now Smart instead of Block
    • Some crash fixes

    Known Issues

    • #523 Invalid digital signature on VSIX in VS 2015

    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.

    WFastCgi

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

    Earlier Visual Studio Versions

    PTVS 2.2.4 and later will not support Visual Studio 2013 or earlier. If you are unable to obtain any of the editions of Visual Studio 2015, the last release of PTVS for Visual Studio 2013 was PTVS 2.2.2 and for Visual Studio 2010 and 2012 was PTVS 2.1.1.

    Source code(tar.gz)
    Source code(zip)
  • dev-2016-06-17(Jun 17, 2016)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6068KB | | Python Tools for VS "15" | MSI | 6064KB |

    • While a dev build is available for Visual Studio 2015, we are planning for our next release to only support VS "15". Please email [email protected] with details of your need if you believe you will be severely impacted.
    • The VS "15" installer requires Visual Studio 15 regular installer, not the "new" installer.
    • No new feature releases for VS 2013 are planned.
    Source code(tar.gz)
    Source code(zip)
  • dev-2016-05-27(May 28, 2016)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6068KB | | Python Tools for VS "15" | MSI | 6064KB |

    • While a dev build is available for Visual Studio 2015, we are planning for our next release to only support VS "15". Please email [email protected] with details of your need if you believe you will be severely impacted.
    • The VS "15" installer requires Visual Studio 15 regular installer, not the "new" installer.
    • No new feature releases for VS 2013 are planned.
    Source code(tar.gz)
    Source code(zip)
  • v2.2.4-rc(May 20, 2016)

    Release notes for PTVS 2.2.4 RC1

    We're pleased to announce a release candidate for Python Tools 2.2.4 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.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6844KB | | Sample Pack | VSIX | 1606KB | | Machine Learning Pack | VSIX | 111KB |

    Requirements

    PTVS 2.2.4 RC1 requires Visual Studio 2015 Community or higher, Express for Desktop or Express for Web. Update 2 is recommended.

    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.4

    PTVS 2.2.4 is a critical bug fix release, so no new functionality has been added.

    The following significant issues have been resolved:

    • Azure Web App remote debug command now displays a help page instead of automatically connecting (or, more likely, doing nothing at all)
    • Default indentation is now Smart instead of Block
    • Some crash fixes

    Known Issues

    • #523 Invalid digital signature on VSIX in VS 2015

    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.

    WFastCgi

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

    Earlier Visual Studio Versions

    PTVS 2.2.4 and later will not support Visual Studio 2013 or earlier. If you are unable to obtain any of the editions of Visual Studio 2015, the last release of PTVS for Visual Studio 2013 was PTVS 2.2.2 and for Visual Studio 2010 and 2012 was PTVS 2.1.1.

    Source code(tar.gz)
    Source code(zip)
  • dev-2016-05-20(May 20, 2016)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6060KB | | Python Tools for VS "15" | MSI | 6060KB |

    • While a dev build is available for Visual Studio 2015, we are planning for our next release to only support VS "15". Please email [email protected] with details of your need if you believe you will be severely impacted.
    • The VS "15" installer requires Visual Studio 15 regular installer, not the "new" installer.
    • No new feature releases for VS 2013 are planned.
    Source code(tar.gz)
    Source code(zip)
  • v2.2.3(Mar 30, 2016)

    Release notes for PTVS 2.2.3

    We're pleased to announce the release of Python Tools 2.2.3 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.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6844KB | | Sample Pack | VSIX | 1606KB | | Machine Learning Pack | VSIX | 111KB |

    Requirements

    PTVS 2.2.3 requires Visual Studio 2015 Community or higher, Express for Desktop or Express for Web. Update 1 is recommended.

    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.3

    PTVS 2.2.3 is primarily a bug fix release, so no new functionality has been added.

    The following significant issues have been resolved:

    • #175 Django syncdb removal, and migrations support
    • #915 Django syncdb is replaced by migrate
    • #1014 Syntax highlighting in Django templates displays error
    • #1043 Add support for Django 1.9
    • #1048 The type 'Window' does not support direct content
    • #1063 Unable to Sync db Django
    • #1064 Debug-Attach to Python 3.5.1
    • #1097 Cannot add existing virtualenv when home has no trailing backslash
    • #1101 Bugs for Django development
    • #1104 Add django app failure

    Known Issues

    • #523 Invalid digital signature on VSIX in VS 2015

    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.

    WFastCgi

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

    Earlier Visual Studio Versions

    PTVS 2.2.3 and later will not support Visual Studio 2013 or earlier. If you are unable to obtain any of the editions of Visual Studio 2015, the last release of PTVS for Visual Studio 2013 was PTVS 2.2.2 and for Visual Studio 2010 and 2012 was PTVS 2.1.1.

    Source code(tar.gz)
    Source code(zip)
  • dev-2016-03-03(Mar 3, 2016)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6852KB |

    (No further releases for VS 2013 are planned, and so dev builds are no longer being made available.)

    Source code(tar.gz)
    Source code(zip)
  • v2.2.3-rc(Mar 1, 2016)

    Release notes for PTVS 2.2.3 RC

    We're pleased to announce the release of Python Tools 2.2.3 RC 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.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6852KB | | Sample Pack | VSIX | 1606KB | | Machine Learning Pack | VSIX | 111KB |

    Requirements

    PTVS 2.2.3 RC requires Visual Studio 2015 Community or higher, Express for Desktop or Express for Web. Update 1 is recommended.

    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.3

    PTVS 2.2.3 is primarily a bug fix release, so no new functionality has been added.

    The following significant issues have been resolved:

    • #175 Django syncdb removal, and migrations support
    • #915 Django syncdb is replaced by migrate
    • #1014 Syntax highlighting in Django templates displays error
    • #1043 Add support for Django 1.9
    • #1048 The type 'Window' does not support direct content
    • #1063 Unable to Sync db Django
    • #1101 Bugs for Django development

    Known Issues

    • #523 Invalid digital signature on VSIX in VS 2015
    • #1064 Debug-Attach to Python 3.5.1
    • #1097 Cannot add existing virtualenv when home has no trailing backslash
    • #1104 Add django app failure

    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.

    WFastCgi

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

    Visual Studio 2013

    PTVS 2.2.3 and later will not support Visual Studio 2013 or earlier.

    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.

    Source code(tar.gz)
    Source code(zip)
  • dev-2016-02-01(Feb 2, 2016)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6832KB |

    (No further releases for VS 2013 are planned, and so dev builds are no longer being made available.)

    Source code(tar.gz)
    Source code(zip)
  • dev-2016-01-19(Jan 19, 2016)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6692KB |

    (No further releases for VS 2013 are planned, and so dev builds are no longer being made available.)

    Source code(tar.gz)
    Source code(zip)
  • v2.2.2(Nov 30, 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.

    Downloads

    | 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 |

    Requirements

    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

    WFastCgi

    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.

    Source code(tar.gz)
    Source code(zip)
  • dev-2015-11-04(Nov 5, 2015)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6700KB | | Python Tools for VS 2013 | MSI | 6476KB |

    Source code(tar.gz)
    Source code(zip)
  • dev-2015-10-29(Oct 30, 2015)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6698KB | | Python Tools for VS 2013 | MSI | 6476KB |

    Source code(tar.gz)
    Source code(zip)
  • v2.2.1-rc(Oct 30, 2015)

    Release notes for PTVS 2.2.1 RC

    We're pleased to announce the first release candidate of Python Tools 2.2.1 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.

    Downloads

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

    Requirements

    PTVS 2.2.1 RC 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.1

    PTVS 2.2.1 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 requires PTVS 2.2.1, which is included in the update installer.

    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

    Known Issues

    • #523 Invalid digital signature on VSIX in VS 2015
    • #597 Extract Method does not appear on the editor context menu
    • #926 Cannot open file when coding comment does not match actual encoding

    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.

    WFastCgi

    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.

    Source code(tar.gz)
    Source code(zip)
  • dev-2015-08-21(Aug 24, 2015)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6772KB | | Python Tools for VS 2013 | MSI | 6496KB | | Sample Pack | VSIX | 1606KB | | Machine Learning Pack | VSIX | 105KB | | ~~WFastCGI~~ (See Notes) | - | - |

    Notes

    WFastCGI is now available from PyPI. Use pip install wfastcgi followed by wfastcgi-enable (as Administrator) to get the equivalent of the old installer, and see the PyPI page for more information.

    Source code(tar.gz)
    Source code(zip)
  • v2.1.1(Aug 25, 2015)

    Release notes for PTVS 2.1.1

    We're pleased to announce the release of Python Tools 2.1.1 for Visual Studio 2010 and Visual Studio 2012.

    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.

    This update fixes a number of critical issues for users who are unable to update to PTVS 2.2.

    Requirements

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

    • Visual Studio 2010 Professional or higher
    • Visual Studio 2012 Professional or higher

    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.

    Source code(tar.gz)
    Source code(zip)
    PTVS.2.1.1.VS.2010.zip(4.70 MB)
    PTVS.2.1.1.VS.2012.zip(5.36 MB)
    PTVS.Samples.2.1.1.zip(1.56 MB)
  • v2.2(Jul 20, 2015)

    Release notes for PTVS 2.2

    We're pleased to announce the release of Python Tools 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.

    Requirements

    PTVS 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.

    New Features for 2.2

    These features are new for PTVS 2.2:

    • Visual Studio 2015 support
    • Improved Python environments window
    • Automatic code suggestions as you type
    • Code snippets
    • Improved code outlining
    • Debugger autos window
    • Hit count breakpoints
    • Task comments
    • Set environment variables in project settings
    • Support for Python 3.5 and new async/await syntax

    Along with many bug fixes and smaller feature enhancements.

    Known Issues

    • #523 Invalid digital signature on VSIX in VS 2015
    • #597 Extract Method does not appear on the editor context menu
    • #598 Start with/without debugging fails if Solution Explorer has never been opened
    • #601 plt.show() puts image in following prompt

    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.

    WFastCgi

    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 works with versions of 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.

    Source code(tar.gz)
    Source code(zip)
    PTVS.2.2.VS.2013.msi(6.32 MB)
    PTVS.2.2.VS.2015.msi(6.58 MB)
    PTVS.ML.2.2.vsix(104.58 KB)
    PTVS.Samples.2.2.vsix(1.57 MB)
  • dev-2015-07-09(Jul 9, 2015)

    This release is updated frequently from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2013 | MSI | 6472KB | | [Sample Pack](https://ptvs.blob.core.windows.net/download/PTVS%20Samples%20Dev%202015-07-09%20VS 2013.vsix) | VSIX | 1606KB | | Machine Learning Pack | VSIX | 105KB | | ~~WFastCGI~~ (See Notes) | - | - |

    Important: This build of PTVS does not support Visual Studio 2015 RC. If you do not have access to newer builds of VS 2015, you should continue to use an earlier version of PTVS.

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6692KB |

    Notes

    WFastCGI is now available from PyPI. Use pip install wfastcgi followed by wfastcgi-enable (as Administrator) to get the equivalent of the old installer, and see the PyPI page for more information.

    The Sample Pack and Machine Learning Pack filenames specify "VS 2013", but can be installed on both Visual Studio 2013 and Visual Studio 2015.

    A recent build changed IoT projects and they will need to be recreated or fixed manually.

    Source code(tar.gz)
    Source code(zip)
  • dev-2015-07-08(Jul 8, 2015)

    This release is updated weekly from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2013 | MSI | 6480KB | | Sample Pack | VSIX | 1612KB | | Machine Learning Pack | VSIX | 105KB | | ~~WFastCGI~~ (See Notes) | - | - |

    Important: This build of PTVS does not support Visual Studio 2015 RC. If you do not have access to newer builds of VS 2015, you should continue to use an earlier version of PTVS.

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6696KB |

    Notes

    WFastCGI is now available from PyPI. Use pip install wfastcgi followed by wfastcgi-enable (as Administrator) to get the equivalent of the old installer, and see the PyPI page for more information.

    A recent build changed IoT projects and they will need to be recreated or fixed manually.

    Source code(tar.gz)
    Source code(zip)
  • dev-2015-07-02(Jul 2, 2015)

    This release is updated weekly from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2013 | MSI | 6472KB | | Sample Pack | VSIX | 1612KB | | Machine Learning Pack | VSIX | 105KB | | WFastCGI | MSI | 964KB |

    Important: This build of PTVS does not support Visual Studio 2015 RC. If you do not have access to newer builds of VS 2015, you should continue to use an earlier version of PTVS.

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6684KB |

    Notes

    A recent build changed IoT projects and they will need to be recreated or fixed manually.

    Source code(tar.gz)
    Source code(zip)
  • dev-2015-06-26(Jun 26, 2015)

    This release is updated weekly from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2013 | MSI | 6472KB | | Sample Pack | VSIX | 1612KB | | Machine Learning Pack | VSIX | 105KB | | WFastCGI | MSI | 964KB |

    Important: This build of PTVS does not support Visual Studio 2015 RC. If you do not have access to newer builds of VS 2015, you should continue to use an earlier version of PTVS.

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6684KB |

    Notes

    A recent build changed IoT projects and they will need to be recreated or fixed manually.

    Source code(tar.gz)
    Source code(zip)
  • dev-2015-06-19(Jun 19, 2015)

    This release is updated weekly from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 6656KB | | Python Tools for VS 2013 | MSI | 6476KB | | Sample Pack | VSIX | 1612KB | | Machine Learning Pack | VSIX | 105KB | | WFastCGI | MSI | 964KB |

    Notes

    A recent build changed IoT projects and they will need to be recreated or fixed manually.

    Source code(tar.gz)
    Source code(zip)
  • v2.2-rc2(Jun 15, 2015)

    Release notes for PTVS 2.2 RC2

    We’re pleased to announce the release of Python Tools 2.2 RC2 for Visual Studio. See our announcement of PTVS 2.2 Beta for some of the highlights.

    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 IPython, cross-platform and cross-language debugging support, and deployment to Microsoft Azure.

    Downloads

    | Download | Type | Size (KB) | | --- | --- | --- | | Python Tools for VS 2015 | MSI | 7156KB | | Python Tools for VS 2013 | MSI | 6852KB | | Sample Pack | VSIX | 1612KB | | Machine Learning Pack | VSIX | 105KB | | WFastCGI | MSI | 912KB |

    Requirements

    PTVS 2.2 RC2 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.

    New Features for 2.2

    These features are new for PTVS 2.2:

    • Code snippets support
    • Improved code outlining
    • Improved Python environments window
    • Automatic code suggestions as you type
    • Debugger autos window
    • Set environment variables in project settings
    • Hit count breakpoints
    • Task comments
    • Support for Python 3.5 and new async/await syntax

    Along with many bug fixes and smaller feature enhancements.

    Known Issues

    • #145 Mixed stdin and stdout in VS 2015 interactive window
    • #406 Interactive window images do not zoom

    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.

    Source code(tar.gz)
    Source code(zip)
  • dev-2015-06-05(Jun 5, 2015)

    This release is updated weekly from the latest source code. It has been signed and virus scanned, but has not been extensively tested and is not recommended for production environments.

    Please report any bugs that you find in this build, and include the filename of the installer you used in your report.

    You can also build PTVS from the latest sources.

    Note: This build has changed IoT projects and they will need to be recreated or fixed manually.

    Source code(tar.gz)
    Source code(zip)
    PTVS.Dev.2015-06-05.VS.2013.msi(6.68 MB)
    PTVS.Dev.2015-06-05.VS.2015.msi(6.98 MB)
    PTVS.ML.Dev.2015-06-05.vsix(104.54 KB)
    PTVS.Samples.Dev.2015-06-05.vsix(1.57 MB)
    WFastCGI.Dev.2015-06-05.msi(912.00 KB)
Owner
Microsoft
Open source projects and samples from Microsoft
Microsoft
{Ninja-IDE Is Not Just Another IDE}

Ninja-IDE Is Not Just Another IDE Ninja-IDE is a cross-platform integrated development environment (IDE) that allows developers to create applications

ninja-ide 919 Dec 14, 2022
ReText: Simple but powerful editor for Markdown and reStructuredText

Welcome to ReText! ReText is a simple but powerful editor for Markdown and reStructuredText markup languages. One can also add support for custom mark

ReText 1.6k Dec 23, 2022
Official repository for Spyder - The Scientific Python Development Environment

Copyright © 2009–2021 Spyder Project Contributors Some source files and icons may be under other authorship/licenses; see NOTICE.txt. Project status B

Spyder IDE 7.3k Dec 31, 2022
A WYSIWYG layout editor for Jupyter widgets

Based on the React library FlexLayout, ipyflex allows you to compose the sophisticated dashboard layouts from existing Jupyter widgets without coding. It supports multiple tabs, resizable cards, drag

Duc Trung LE 93 Nov 24, 2022
A JupyterLab extension for version control using Git

A JupyterLab extension for version control using Git

JupyterLab 1.2k Jan 03, 2023
The uncompromising Python code formatter

The Uncompromising Code Formatter “Any color you like.” Black is the uncompromising Python code formatter. By using it, you agree to cede control over

Python Software Foundation 30.7k Jan 02, 2023
Emacs Python Development Environment

Elpy, the Emacs Python IDE Elpy is an Emacs package to bring powerful Python editing to Emacs. It combines and configures a number of other packages,

Jorgen Schäfer 1.8k Jan 02, 2023
JupyterLite is a JupyterLab distribution that runs entirely in the browser power by wasm

JupyterLite is a JupyterLab distribution that runs entirely in the browser built from the ground-up using JupyterLab components and extensions.

Jeremy Tuloup 76 Dec 13, 2022
PlugNik is a simple implementation of plugin repository for JetBrains Application.

PlugNik is a simple implementation of plugin repository for JetBrains Application.

roy reznik 11 Jun 30, 2022
A gui-script-editor(Based on pyqt5, pyautogui) to writing your gui script.

gui-script-editor A gui-script-editor(Based on pyqt5, pyautogui) to writing your gui script. ##更新说明 版本号:1.0.0 版本说明:实现了脚本编辑器雏形,未实现执行报告,自动化脚本管理(只支持单个脚本运

2 Dec 22, 2021
Using the jedi autocompletion library for VIM.

jedi-vim - awesome Python autocompletion with VIM jedi-vim is a VIM binding to the autocompletion library Jedi. Here are some pictures: Completion for

Dave Halter 5.1k Dec 31, 2022
A free Python source code editor and Notepad replacement for Windows

Website Download Features Toolbar Wide array of view options Syntax highlighting support for Python Usable accelerator keys for each function (Ctrl+N,

Mohamed Ahmed 7 Feb 16, 2022
Write maintainable, production-ready pipelines using Jupyter or your favorite text editor. Develop locally, deploy to the cloud. ☁️

Write maintainable, production-ready pipelines using Jupyter or your favorite text editor. Develop locally, deploy to the cloud. ☁️

Ploomber 2.9k Jan 06, 2023
Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.

Python-mode, a Python IDE for Vim This project needs contributors. Documentation: :help pymode https://github.com/python-mode/python-mode/wiki Importa

The Python-Mode 5.4k Jan 01, 2023
An experimental code editor for writing algorithms

Algojammer Algojammer is an experimental, proof-of-concept code editor for writing algorithms in Python. It was mainly written to assist with solving

Chris Knott 2.9k Dec 27, 2022
Python-Text-editor: a simple text editor on Python and Tkinter

Python-Text-editor This is a simple text editor on Python and Tkinter. The proje

Innokentie 1 Jan 03, 2022
Python Tools for Visual Studio

Python tools for Visual Studio Python support for Visual Studio is developed and managed here. Visit our product overview and downloads page, read our

Microsoft 2.4k Dec 30, 2022
openBrowsser is a Sublime Text plug-in, which allows you to add a keyboard shortcut, to directly access a website from a selection.

openBrowsser is a Sublime Text plug-in, which allows you to add a keyboard shortcut, to directly access a website from a selection. Instal

Florian COLLIN 1 Dec 14, 2021
Jupyter Interactive Notebook

Jupyter Notebook The Jupyter notebook is a web-based notebook environment for interactive computing. Notice Please note that this repository is curren

Project Jupyter 9.7k Jan 02, 2023
Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.

Komodo Edit This readme explains how to get started building, using and developing with the Komodo Edit source base. Whilst the main Komodo Edit sourc

ActiveState Komodo 2k Dec 28, 2022