I am pretty new to Visual Studio, I have just installed VS2010 Integrated shell and decided to give it a try as an IDE for working with Python.
I had Python 2.7.2 installed on my machine, along with IPython 0.10.2 (from a Python distro), and and then installed Python Tools for Visual Studio. When I try to execute some simple code I get the following error message:
Python interactive window.
Type $help for a list of commands.
Resetting execution engine
Failed to launch REPL process
Exception AttributeError: AttributeError("'NoneType' object has no attribute 'platform'",) in <function _remove at 0x01D123B0>
Unhandled exception in thread started by <bound method BasicReplBackend._repl_loop of <__main__.BasicReplBackend object at 0x01C9DF90>> ignored
Traceback (most recent call last): File "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio\1.1\visualstudio_py_repl.py", line 135, in _repl_loop
close failed in file object destructor:sys.excepthook is missinglost sys.stderr
In the end I get the actual output of my code (some prints to see if the code is running). Any idea why I get this error message and how do I get rid of it?