Thanks, Uli. Also thanks for reposting to the list. It was my mistake.<br><br>I successfully (but reluctantly) installed grokproject on the installed python (i.e. without the virtual environment). I wonder what will break with my other python/zope applications.<br>
<br>The Python I am using is the MS Windows installable version 2.5.4<br><br>Regards<br>Milind<br><br><div class="gmail_quote">On Sun, Sep 6, 2009 at 11:21 PM, Uli Fouquet <span dir="ltr">&lt;<a href="mailto:uli@gnufix.de">uli@gnufix.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi there,<br>
<br>
I repost Milinds mail here, as it seems not to have make it to the list.<br>
<div class="im"><br>
Milind Khadilkar wrote:<br>
<br>
&gt; Sorry. I was away from this machine for some time. To refresh: I have<br>
&gt; been unable to install grokproject because through the virtual<br>
&gt; environment created, easy_install gives an error while importing<br>
&gt; _socket<br>
<br>
</div>Yeah, obviously. The question is, whether there is a socket library in<br>
your Python or not.<br>
<div class="im"><br>
&gt; The import _socket works outside the virtual environment.<br>
<br>
</div>But it does not inside? Apart from grokproject and the like? Or in other<br>
words: can you activate your sandbox, then start the Python interpreter<br>
and import _socket?<br>
<br>
   (vgrok) C:\vgrok&gt; bin/Python.exe<br>
   ...<br>
   &gt;&gt;&gt; import _socket<br>
<div class="im"><br>
<br>
&gt; I have now made a clean install from python 2.5.4<br>
<br>
</div>Where did you get the Python from and how did you do the install? Was it<br>
a binary install or a self-compiled?<br>
<div class="im"><br>
&gt; The problem still persists.<br>
&gt;<br>
&gt; Any solutions or workarounds? More importantly, what could be causing<br>
&gt; this problem to me which others are not facing?<br>
<br>
</div>There are a couple of mentions of this problem on Windows. It is merely<br>
a Windows and Python problem. At least I got several hits when googling<br>
&#39;python _socket&#39;.<br>
<div class="im"><br>
&gt; Again apologies for this break in communication.<br>
<br>
</div>No worries, please.<br>
<div class="im"><br>
&gt; Thanks and regards<br>
&gt; Milind Khadilkar<br>
<br>
</div>It looks to me, this problem is not grok nor grokproject specific. It<br>
would be nice, however, to find a solution. On my own Windows installs I<br>
never had this problem.<br>
<br>
Maybe someone with more Windows experience can tell more?<br>
<br>
Best regards,<br>
<br>
--<br>
<font color="#888888">Uli<br>
<br>
</font></blockquote></div><br>