Windows XP install of PythonTools for Visual Studio Shell
Saw this via Hacker News while drinking my coffee.
Neat. But I have XP on a VM on my Macbook, so how do I install this on XP?
3) Download and install Python (I prefer 2.7, not really sure why).
6) Upgrade distribute:
pip install --upgrade distribute
7) Grab some modules (compiled by Christoph Gohlke) [the following links are for python 2.7]: scipy, numpy, matplotlib, PyMC, MySQL-python, ipython, pyzmq, tornado, pyreadline, pygments, pyqt, pyside, lxml.
8) Run the IDE: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
9) Create a python project.
10) Check out the list of Python Interpreters and the status of the intellisense DB generation via analysis of the installed modules via: Tools> Python Tools> Python Interpreters.
11) Start an interactive Python shell with Tools> Python Tools> “[interpreter] Interactive”
12) Execute python app within the interactive shell with Tools> Python Tools> Execute Python in Python Interactive (or shift+ctrl+f5).
1) There is a bug in the class analyzer for IntelliSense completion database generation where some classes’ pyd files will attempt to be parsed. This occurs with scipy (see Zooba’s response). If you do not wish to rename the exe `Microsoft.PythonTools.Analyzer.exe`, then you can build from source, as described in Zooba’s response on Monday July 22nd, 2013.
2) If you get an “SSL3_GET_SERVER_CERTIFICATE:certificate verify failed” error, then you will have to append the CA that is issuing you the certs to a file. You can use the above process and then copy the output of the pip section as:
move C:\Python27\Lib\site-packages\pip\cacert.pem C:\Python27\Lib\site-packages\pip\cacert.pem.bak pscp root@BOX:/usr/local/lib/python2.7/site-packages/pip/cacert.pem C:\Python27\Lib\site-packages\pip