visual-studio

Cannot install flask-mysqldb

Cannot install flask-mysqldb Question: I’ve been trying to install flask-mysqldb using pip install flask-mysqldb, but every time I try it gives me an error that says : error: command ‘C:Program Files (x86)Microsoft Visual Studio2017CommunityVCToolsMSVC14.14.26428binHostX86x86cl.exe’ failed with exit status 2 I’ve looked around a lot and no answer works for me. I searched the file in …

Total answers: 4

Visual Studio – "The environment IronPython|2.7-32 appears to be incorrectly configured or missing"

Visual Studio – "The environment IronPython|2.7-32 appears to be incorrectly configured or missing" Question: Steps to the Reproduce: Open Visual Studio 2017 (Pro on Windows 10 64-bit) File > New Project > IronPython Application Run the default program: print(‘Hello world’) When I run it, I get the following error: The environment “IronPython|2.7-32” appears to be …

Total answers: 4

Any 'Browser Reload on Save' extension equivalent for python in visual studio?

Any 'Browser Reload on Save' extension equivalent for python in visual studio? Question: The extension Browser Reload on Save for Visual Studio is available only for ASP.NET projects. Are there any equivalent for python projects? Even any equivalent for Browser Sync would be of great help Asked By: Tore Binarflame || Source Answers: Check out …

Total answers: 1

Python Pip install Error: Unable to find vcvarsall.bat. Tried all solutions

Python Pip install Error: Unable to find vcvarsall.bat. Tried all solutions Question: I tried to install Scrapy for Python 2.7.8 (anaconda 2.1.0) 32-bit using pip install scrapy And I got this error error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat). I have followed the solutions found in these stackover flow questions. Nothing …

Total answers: 5

Cannot start Tkinter window in Visual Studio with Python Tools

Cannot start Tkinter window in Visual Studio with Python Tools Question: I am developing using Python Tools for Visual Studio in Visual Studio 2013 community edition on Windows 8.1. My problem is that I am unable to get a Tkinter window to start. I have tried using this code: from tkinter import * Tk() When …

Total answers: 1

Can pip be used with Python Tools in Visual Studio?

Can pip be used with Python Tools in Visual Studio? Question: I’m collaborating with some fellow students to build a python app, and was hoping to use the ‘training wheels’ of Visual Studio intelli-sense. They use python on mac and linux, so ideally our source control repo would consist of just *.py source files that …

Total answers: 6

Compiling Python modules on Windows x64

Compiling Python modules on Windows x64 Question: I’m starting out some projects in words processing and I needed NumPy and NLTK. That was the first time I got to know easy_install and how to compile new module of python into the system. I have Python 2.7 x64 plus VS 11 and VS 12. Also Cygwin …

Total answers: 6

How to debug a remote python application with (Python Tools for) Visual Studio?

How to debug a remote python application with (Python Tools for) Visual Studio? Question: According to http://pytools.codeplex.com/, PTVS supports “Local and remote debugging”. However, I couldn’t find anything related to it or. So I’m curious if their “remote debugging” is simply attaching to a running process on the same machine or if there’s some actual …

Total answers: 3

Shortcut to comment out multiple lines with Python Tools for Visual Studio

Shortcut to comment out multiple lines with Python Tools for Visual Studio Question: What is the shortcut to comment out multiple lines with Python Tools for Visual Studio? Asked By: Johan Råde || Source Answers: On python the only way is “”” … “””, practically just a string. Answered By: sorin CTRL+K then CTRL+C adds …

Total answers: 7

What version of Visual Studio is Python on my computer compiled with?

What version of Visual Studio is Python on my computer compiled with? Question: I am trying to find out the version of Visual Studio that is used to compile the Python on my computer It says Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 What I do not understand …

Total answers: 2