Python for VS 2012 Installation Issue

Installed IronPython for VS 2012 by PTVS, seems ok but in fact not working: 1) cannot find python in New Project other language list 2) VS 2012 crash when click Python Tool-> Fresh DB ‘devenv.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Interop.10.0\10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Interop.10.0.dll’ ‘devenv.exe’ (Managed (v4.0.30319)): Loaded ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Language.Intellisense\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Language.Intellisense.dll’ An unhandled exception of type ‘System.InvalidOperationException’ …

Upgrade pip from 1.1 to 1.4

pip 1.1 doesn’t have pip list/show, this is log for 1.4 upgrade. $ cd Python/Scripts/ $ pip –version pip 1.1 from c:\kivy\python\lib\site-packages\pip-1.1-py2.7.egg (python 2.7) $ pip install –upgrade pip Downloading/unpacking pip from https://pypi.python.org/packages/source/p/pip/pip-1.4.1.tar.gz#md5=6afbb46aeb48abac658d4df742bff714 Downloading pip-1.4.1.tar.gz (445Kb): 445Kb downloaded Running setup.py egg_info for package pip warning: no files found matching ‘*.html’ …

Install kivy 1.8.0 dev to own Python 2.7.5

I have own Python 2.7.5 and own mingw/gcc, want to build kivy 1.8.0 dev from source. When you follow up instruction from section: http://kivy.org/docs/installation/installation-windows.html Using an exisiting Python installation (64/32 bit) Always got gcc link failure, C:\portableapps\mingw\bin\gcc.exe -mno-cygwin -shared -s c:\users\\appdata\local\temp\pip-tatybd-build\kivy\graphics\texture.o c:\users\\appdata\local\temp\pip-tatybd-build\kivy\graphics\texture.def -LC:\Python27\libs -LC:\Python27\PCbuild -lopengl32 -lglew32 -lpython27 -lmsvcr90 -o build\lib.win32-2.7\kivy\graphics\texture.pyd …

gcc+mingW for python installation

When you hit this gcc error during some python installation: error: command ‘gcc’ failed with exit status 1 You should consider replace your gcc, this is good option here: https://github.com/develersrl/gccwinbinaries •GCC 4.3.3-tdm-1 (http://www.tdragon.net/recentgcc/) •binutils 2.19.1 •mingw32-make 3.81-2 •mingwrt 3.16 •w32api 3.13

Run msysgit on Console2

msysgit is git for window, it is integrated portable msys+git, you can download from here: http://code.google.com/p/msysgit/downloads/detail?name=PortableGit-1.8.4-preview20130916.7z The default usage is to double click git-cmd.bat to launch msys shell on cmd.exe. Would be nice to run on Console2, this is shell setting: C:\portableapps\git\bin\sh.exe –login -i

portable ipython in Console2

http://portablepython.com/ is best portable python so far, here is discussion how to run them from Console2. 1) install portable python package Portable Python 2.7.5.1 This package contains following applications/libraries: PyScripter v2.5.3 NymPy 1.7.1 SciPy 0.12.0 Matplotlib 1.2.1 PyWin32 218 Django 1.5.1 PIL 1.1.7 Py2Exe 0.6.9 wxPython 2.9.4.0 NetworkX 1.7 Lxml …

Python pip installation on windows

1) setup proxy in IE otherwise cannot access to Internet to get package during installation 2) install setuptools 32 bits using .exe installer, used to download, build, install, upgrade, and uninstall Python packages easily https://pypi.python.org/pypi/setuptools/0.6c11#windows 3) download get-pip.py https://raw.github.com/pypa/pip/master/contrib/get-pip.py 4) install pip C:> python c:\\get-pip.py Downloading/unpacking pip Downloading pip-1.4.1.tar.gz (445kB): …