Thanks, Uli.<br><br>I have only one installation of python. <br><br>The path to _socket in my python installation matches yours:<br>&gt;&gt;&gt; import _socket<br>&gt;&gt;&gt; _socket.__file__<br>&#39;c:\\python25\\DLLs\\_socket.pyd&#39;<br>
<br>In the virtual environment, sys.path is:<br>(vgrok) C:\vgrok&gt;python<br>Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on<br>win32<br>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>
&gt;&gt;&gt; import sys<br>&gt;&gt;&gt; sys.path<br>[&#39;&#39;, &#39;C:\\vgrok\\lib\\site-packages\\setuptools-0.6c9-py2.5.egg&#39;, &#39;c:\\python25\<br>\lib&#39;, &#39;C:\\WINDOWS\\system32\\python25.zip&#39;, &#39;C:\\vgrok\\DLLs&#39;, &#39;C:\\vgrok\\lib<br>
&#39;, &#39;C:\\vgrok\\lib\\plat-win&#39;, &#39;C:\\vgrok\\lib\\lib-tk&#39;, &#39;C:\\vgrok\\Scripts&#39;, &#39;<br>C:\\vgrok&#39;, &#39;C:\\vgrok\\lib\\site-packages&#39;]<br>&gt;&gt;&gt;<br><br>There is no _socket in the DLLs folder of the virtual environment; the \Python25\DLLs is not in the path of the virtual environment.<br>
<br>I am currently using grok installed directly on my &quot;real&quot; python environment.<br><br>Thanks and Regards<br><br><br>Milind<br><div class="gmail_quote">On Mon, Sep 7, 2009 at 4:47 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 Milind,<br>
<div class="im"><br>
Milind Khadilkar wrote:<br>
<br>
&gt; I successfully (but reluctantly) installed grokproject on the<br>
&gt; installed python (i.e. without the virtual environment). I wonder what<br>
&gt; will break with my other python/zope applications.<br>
<br>
</div>Hm, difficult to guess. From my limited experience Grok (and Zope in<br>
general) won&#39;t block other Python code, but the other way round could be<br>
a problem. So, if it works without virtualenv for you I&#39;d say you can go<br>
with it.<br>
<div class="im"><br>
&gt; The Python I am using is the MS Windows installable version 2.5.4<br>
<br>
</div>Using the MSI? Okay, I have the same version running here.<br>
<br>
Milind, it would really be helpful if you could post the output of the<br>
following commands. No one can help you, if we do not know the paths<br>
etc.<br>
<br>
Most probably there is a DLL missing, but only in your virtualenv, which<br>
is strange. If there are any other Python versions installed on your<br>
system: are you sure, you created the virtualenv for the freshly<br>
installed Python2.5 (you can use virtualenvs &#39;-p&#39; option for this)?<br>
<br>
Then: what is the path to your working _socket module? In my install it<br>
is:<br>
<br>
  C:\&gt; Python25\python.exe<br>
  &gt;&gt;&gt; import _socket<br>
  &gt;&gt;&gt; _socket.__file__<br>
  &#39;C:\\Python25\\DLLs\\_socket.pyd&#39;<br>
<br>
When you activate your virtualenv, what does sys.path give? Here it<br>
looks like this:<br>
<br>
   C:\&gt; sandbox_clean25\scripts\activate.bat<br>
   (SANDBO~2) C:\&gt; python<br>
   &gt;&gt;&gt; import sys<br>
   &gt;&gt;&gt; sys.path<br>
   [..., &#39;C:\\Python25\\DLLs&#39;, ...]<br>
<br>
Best regards,<br>
<br>
--<br>
<font color="#888888">Uli<br>
<br>
</font></blockquote></div><br>