Questions tagged [ptvs]

Python Tools for Visual Studio turns Visual Studio into a Python IDE. It's a free & open source plug-in for Visual Studio, written and supported by Microsoft and community.

Python Tools for Visual Studio turns Visual Studio into a Python IDE. It's a free & open source plug-in for Visual Studio from Microsoft. PTVS enables developers to use all the major productivity features of Visual Studio to build Python code using either CPython or IronPython and adds new features such as attaching to running Python processes and debugging mixed Python/C++ code.

212 questions
0
votes
1 answer

Breakpoints not working for Django Project with python environment 2.7 in Visual Studio with PTVS

I get the following errors when I try to set a breakpoint for html files in a Django project: "A breakpoint could not be inserted at this location" "This is not a valid location for a breakpoint" In .py files I can set breakpoints but they will…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
0
votes
1 answer

Manipulation of the solution properties in PTVS

I am using Visual Studio 2013 and the PTVS for developing in pythonic world. My experiences to interact with the generated solutions in VS, are which under aegis of C#, seemingly do not help me in the case of PTVS. As an important point, I am prone…
User
  • 952
  • 2
  • 21
  • 43
0
votes
2 answers

Setting up environment in Python tools for visual studio

I am trying to install Theano and use the PTVS IDE. After following all installation steps, when running "import theano" within the PTVS interactive window I get: WARNING (theano.configdefaults): g++ not detected I believe the problem is caused by…
Leo
  • 1,213
  • 2
  • 13
  • 26
0
votes
1 answer

py.test from Visual Studio - '_DebuggerOutput' object has no attribute 'closed'

I'm using Python Tools for Visual Studio with py.test. I'm able to use pytest fine if I run the script without debugging, but when I run with debugging, the script crashes. Below is my code and the output that I get in the console window. I've…
user4794170
  • 203
  • 1
  • 4
  • 8
0
votes
1 answer

How to call a function inside the class MyWindow(Window) in Visual Studio 2013?

I'm using VS 2013 with PTVS an i want to press a button to call a function. But I'm beginner for python and WPF so I'm getting some trouble, so my class with my function is: class VendasXML(object): def MakeXML(self) : offset = 0 …
0
votes
2 answers

PTVS Django Data Base Migration

Im testing Python Tools For Visual Studio, I create a django project, make a SyncDB and install django admin with no problems, but now Im trying to make Data Base migration like: Django 1.7 Migrations. the point is that i cant figuer out how to do…
andre
  • 192
  • 2
  • 12
0
votes
0 answers

Using easygui in Visual Studio Python Tools

I'm trying to import the easygui module into Visual Studio Python Tools, but thus far I have been unable to get it to work. Whenever I run anything involving importing easygui I get the following error: Traceback (most recent call last): File…
Dan F
  • 27
  • 1
  • 5
0
votes
1 answer

Use PTVS in VS2013 shell for own application

I have written an application which can be extended with IronPython. All scripts are stored in a database and can be edited with ScintillaNet. Every thing works fine, but i don't like ScintillaNet as the script editor because of bad autocomplete and…
BendEg
  • 20,098
  • 17
  • 57
  • 131
0
votes
1 answer

Python tests pass on cmd and fail on VS2012

I'm setting up Python (CPython 3.4, 64-bit) on a new machine (Windows 10). I installed numpy & nose, and ran numpy.test() through the interpreter prompt to make sure everything's working as expected: Running unit tests for numpy NumPy version…
Ghillie Dhu
  • 213
  • 2
  • 10
0
votes
0 answers

installing libraries in visual studio 2013 python tools

I have visual studio professional 2013 with python tools, and I want to import wxPython library to my code. how do I install the library on visual studio?
TulkinRB
  • 590
  • 1
  • 6
  • 10
0
votes
1 answer

Adding typescript file to PTVS project

Typescript seems to be great alternative to javascript. we are using paython for visual studio aka PTVS. the problem there is no wat to add .ts file to the project any idea?
Nati Krisi
  • 1,023
  • 1
  • 12
  • 23
0
votes
1 answer

How to remove exported templates from Visual Studio Express 2013

I have Visual Studio 2013 Express running on Windows 8.1. Also, I installed Python Tools for Visual Studio template. I have developed Python applications a few times as well as C# stuff. For Python applications, I decided to export a general game…
GeoCoder
  • 33
  • 4
0
votes
1 answer

pywin32 not working with PTVS

I have been playing around with PTVS 2.1 Beta 2 and Visual Studio Express 2013 with upgrade 3. I liked a lot of the features in PTVS so I was excited to give it a try. So far it is OK, but I have one major and confusing problem. I am running…
Jesse
  • 63
  • 1
  • 5
0
votes
0 answers

import numpy giving ImportError: DLL load failed: %1 is not a valid Win32 application

I am using python tools for visual studio express 2013. I am not able to import numpy in it. Could successfully import other modules like re and math import numpy gives following error: Traceback (most recent call last): File "``", line 1, in…
megamind
  • 78
  • 7
0
votes
1 answer

Error while trying to attach debugger from PTVS

I have created a Bottle Py website and deployed it to Azure Websites, but now I have made some changes and when I published it Site again, the site gave an internal error. When I tried to attach debugger received below error "Existing connection is…
skvsree
  • 487
  • 1
  • 7
  • 19