This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bgale
Recipients Daniel.Ozminkowski, Frankie.Jhou, Victor.Lin, bgale, eric.araujo, giampaolo.rodola, ipatrol, jafo, lemburg, loewis, piotr.dobrogost, sayap, schmir, shimizukawa, skrah, srid, steve.dower, tarek, thorsten.behrens, zzzeek
Date 2013-08-01.01:11:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
so i hit the same exception, here is how i solved it.

windows 7 enterprise 64 bit
python 2.7.5 64 bit
visual studio 2008 32 bit

pip installs failed with the above exception.

there are two parts.
1. install 64 bit components to vs2008
2. modify the PATH to point to 64 bit vs2008 bin folder

to confirm is this solution will help you:
check if there is an amd64 under your vs2008 bin folder:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
if yes, this solution will not help you.
if missing follow the steps below.

step 1.
control panel
select Microsoft Visual Studio 2008 Professional -ENU
window Visual Studio 2008 Maintenance Mode is opened
click through to and select Add or Remove Features
Under Language Tools->VC++ "X64 Compilers and Tools" should be unchecked.
if it is checked, skip to step 2.
check "X64 Compilers and Tools", Update.
you may have to provide the VS2008 installation CD.
confirm that update creates bin\amd64 subfolder.

step 2.
add 64 bit subfolder to your path.
VS2008_HOME=C:\Program Files (x86)\Microsoft Visual Studio 9.0
open new command window to receive new PATH changes.
pip installations should no die with the ValueError.
Date User Action Args
2013-08-01 01:11:52bgalesetrecipients: + bgale, lemburg, loewis, jafo, giampaolo.rodola, schmir, tarek, sayap, eric.araujo, zzzeek, srid, skrah, ipatrol, shimizukawa, thorsten.behrens, piotr.dobrogost, Victor.Lin, steve.dower, Daniel.Ozminkowski, Frankie.Jhou
2013-08-01 01:11:51bgalesetmessageid: <>
2013-08-01 01:11:51bgalelinkissue7511 messages
2013-08-01 01:11:51bgalecreate