Python Tools for Visual Studio

Play Python Tools for Visual Studio


Python Tools for Visual Studio (PTVS) is a free, open source plugin that turns Visual Studio (including Express!) into a Python IDE. In this episode, Robert is joined by Steve Dower, who shows how PTVS provides Python developers all of the goodness of Visual Studio, including IntelliSense, local and remote debugging and more. He also discusses why developers who have not used Python before might want to give it a try.



The Discussion

  • User profile image

    Firstly, good show, and great tools. I've been using PTVS for about a month (2.1) and the only thing thats been bothering me is the silent install fails for the virtual environments with some packages.

    For example, if I try and install librabbitmq in a virtual environment, it says it was successful, and it does get the ampq dependency, but when I try to run 

    import librabbitmq
    it fails (also I do get the nice squigglies to know that it will fail in advance).

    Any idea what is going on?

  • User profile image

    @soandos: It looks like librabbitmq has a C module but doesn't include a pre-built version for Windows (or any other platform). The silent error is a surprise - there should be errors appearing in the Output Window when a package fails to install.

    According to the bug at, librabbitmq doesn't actually support Windows, and the listing on PyPI is an error. You may want to try using one of the other Python libraries for RabbitMQ.

  • User profile image

    You can find other libraries at

    (Apparently two links marks you as a spammer, so I had to put it in a separate post...)

  • User profile image

    @SteveDower: Firstly, thanks for the input. For what its worth, I was able to compile the C module with little difficulty (just had to change unistd to winsock2, and use cmake to build the appropriate sln file for windows), just when I actually wanted to link the underlying module (_librabbitmq) it wanted to link against Python.lib

    For what its worth, I don't think the silent error is your fault, attempting to install using pip also silently fails, and to even get a hint that there is an issue, you have to try using the setup file and then realize that warnings (not errors) are thrown about an empty build dir.

    Much appreciated, and thanks for the great tools.

  • User profile image

    Great video! Also, FYI, the Python team has more videos on their YouTube channel

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.