Re: Problem Installing PIL for Python 2.7
Gugyin Adrián <[email protected]> Wed, 26 Jun 2013 23:03:21 +0200
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <CAHc3gUmxuALxkgB6FYt2C1megxnUBU5dJLubthaM+3ij8SWYbA@mail.gmail.com> |
--===============0423821998== Content-Type: multipart/alternative; boundary=001a11c2c4bac43cd104e014f966 --001a11c2c4bac43cd104e014f966 Content-Type: text/plain; charset=ISO-8859-1 Hello! The method described here worked for me: http://stackoverflow.com/questions/3652625/installing-setuptools-on-64-bit-windows Apparently (having faced related 64- and 32-bit issues on OS X) there is a bug > in the Windows installer <http://bugs.python.org/issue6792>. I stumbled > across this workaround<http://selfsolved.com/problems/setuptools-06c11-fails-to-instal/s/63>, > which might help - basically, you create your own registry value > HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.6\InstallPath and > copy over the InstallPath value from > HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath. See the > answer below for more details. > If you do this, beware that setuptools *may only install 32-bit libraries* > . I have 64-bit Windows and Python and encountered the same problem when installing PIL (it also comes up with other module installers), created the registry key, set the value and after that the installer worked. Unfortunately it seems one has to sacrifice the 64-bit libraries for this (I'm not really into that yet). Adrian 2013/1/22 John Price <[email protected]> > Help needed. I am having problems trying to install PIL for Python 2.7. > I get a dialog box that states that 2.7 in not registered. I use Windows 7 > as my computer operating system. I also have Python 3.3 installed. Could > that be the problem? > > Thanks for your help, > > John > > _______________________________________________ > Image-SIG maillist - [email protected] > http://mail.python.org/mailman/listinfo/image-sig > > --001a11c2c4bac43cd104e014f966 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello!<div><br></div><div>The method described here worked for me:</div><di= v><a href=3D"http://stackoverflow.com/questions/3652625/installing-setuptoo= ls-on-64-bit-windows">http://stackoverflow.com/questions/3652625/installing= -setuptools-on-64-bit-windows</a><br> <br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor= der-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:sol= id;padding-left:1ex">Apparently (having faced related 64- and 32-bit issues= on OS X) there is a=A0<a href=3D"http://bugs.python.org/issue6792" style= =3D"margin:0px;padding:0px;border:0px;vertical-align:baseline;background-co= lor:transparent;color:rgb(74,107,130);text-decoration:none">bug in the Wind= ows installer</a>. I stumbled across=A0<a href=3D"http://selfsolved.com/pro= blems/setuptools-06c11-fails-to-instal/s/63" style=3D"margin:0px;padding:0p= x;border:0px;vertical-align:baseline;background-color:transparent;color:rgb= (74,107,130);text-decoration:none">this workaround</a>, which might help - = basically, you create your own registry value<code style=3D"margin:0px;padd= ing:1px 5px;border:0px;vertical-align:baseline;background-color:rgb(238,238= ,238);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liber= ation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono= 9;,'Courier New',monospace,serif">HKEY_LOCAL_MACHINE\SOFTWARE\Wow64= 32Node\Python\PythonCore\2.6\InstallPath</code>=A0and copy over the Install= Path value from<code style=3D"margin:0px;padding:1px 5px;border:0px;vertica= l-align:baseline;background-color:rgb(238,238,238);font-family:Consolas,Men= lo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sa= ns Mono','Bitstream Vera Sans Mono','Courier New',monos= pace,serif">HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath</= code>. See the answer below for more details.<br> If you do this, beware that setuptools=A0<strong style=3D"margin:0px;paddin= g:0px;border:0px;vertical-align:baseline;background-color:transparent">may = only install 32-bit libraries</strong>.</blockquote><p style=3D"margin:0px = 0px 1em;padding:0px;border:0px;font-size:14px;vertical-align:baseline;backg= round-color:rgb(255,255,255);clear:both;word-wrap:break-word;font-family:Ar= ial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:= 18px"> <br></p><p style=3D"margin:0px 0px 1em;padding:0px;border:0px;font-size:14p= x;vertical-align:baseline;background-color:rgb(255,255,255);clear:both;word= -wrap:break-word;font-family:Arial,'Liberation Sans','DejaVu Sa= ns',sans-serif;line-height:18px"> I have 64-bit Windows and Python and encountered the same problem when inst= alling PIL (it also comes up with other module installers), created the reg= istry key, set the value and after that the installer worked. Unfortunately= it seems one has to sacrifice the 64-bit libraries for this (I'm not r= eally into that yet).</p> <p style=3D"margin:0px 0px 1em;padding:0px;border:0px;font-size:14px;vertic= al-align:baseline;background-color:rgb(255,255,255);clear:both;word-wrap:br= eak-word;font-family:Arial,'Liberation Sans','DejaVu Sans',= sans-serif;line-height:18px"> <span style=3D"font-family:arial;font-size:small;line-height:normal;backgro= und-color:transparent">Adrian</span></p><div class=3D"gmail_quote"><br></di= v><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">2013/1/22= John Price <span dir=3D"ltr"><<a href=3D"mailto:[email protected]= " target=3D"_blank">[email protected]</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div><div style=3D"font-family:tahoma,new yo= rk,times,serif;font-size:12pt"><div>Help needed.=A0 I am having problems tr= ying to install PIL for Python 2.7.=A0 I get a dialog box that states that = 2.7 in not registered.=A0 I use Windows 7 as my computer operating system.= =A0 I also have Python 3.3 installed. Could that be the problem?<br> <br>Thanks for your help,<br><br>John<br></div> </div></div><br>_______________________________________________<br> Image-SIG maillist =A0- =A0<a href=3D"mailto:[email protected]">Image-SI= [email protected]</a><br> <a href=3D"http://mail.python.org/mailman/listinfo/image-sig" target=3D"_bl= ank">http://mail.python.org/mailman/listinfo/image-sig</a><br> <br></blockquote></div><br></div> --001a11c2c4bac43cd104e014f966-- --===============0423821998== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig --===============0423821998==--