Hi,<br><br>I doubt your python is messed up. It happens at times if you have multiple python&nbsp; versions installed. anyways,<br>follow these instructions(i hope it will help)<br><br>1) Look in /usr/lib/python2.5/site-packages or /usr/local/lib/python2.5/site-packages and verify you have a folder like zope.interface-3.*.*-py2.5-linux-*.egg and Inside it you must have an EGG-INFO and zope folders. if not, the installation is not proper.<br>

<br>2) Try&nbsp; export PYTHONPATH=&quot;/usr/lib/python2.5/site-packages/:/usr/lib/python2.5/site-packages/&quot;<br>Note make sure that you echo the $PYTHONPATH and make sure that you append all the paths in it to the new PYTHONPATH too.<br>

<br>3) Try to import zope.interface from python shell again.<br><br>4) Or try to reinstall the zope.interface after setting the PYTHONPATH as above.<br><br><div class="gmail_quote">I belive the setting the PYTHONPATH will fix it. I personaly prefer to use easy_install when its a python package. It will fix all dependencies and settings. You may try it too. install setuptools for your python2.5 and,<br>

&nbsp;&nbsp;&nbsp;&nbsp; easy_install zope.interface <br>jayaraj<br><a href="mailto:jayarajanjn@gmail.com">jayarajanjn@gmail.com</a><br><a href="mailto:jayarajanjn@musmo.com">jayarajanjn@musmo.com</a><br>On Wed, Dec 24, 2008 at 10:50 AM, ASHWINI NAIDU <span dir="ltr">&lt;<a href="mailto:ashwini.naidu@gmail.com" target="_blank">ashwini.naidu@gmail.com</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,<br>&nbsp;<br>I tried what you said but it is giving the same error. i have attached the error.<br><br>[root@localhost zpkgsetup]# python<br>Python 2.5 (r25:51908, Dec 18 2008, 22:36:15)<br>[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2<br>


Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>&gt;&gt;&gt; import zope.interface<div><br>Traceback (most recent call last):<br></div>&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<div>

<br>
ImportError: No module named zope.interface<br>&gt;&gt;&gt;<br><br><br><br></div>The steps followed for installation were<br>1. saved zope.interface-3.3.1 in /usr/local/src<br>2. UnTared it<br>3. got into the directory<br>

4. python setup.py build<br>
5. python setup.py install<br><br>Can u say me how i can correct this error. <br><div><div></div><div><br><br><br><br><div class="gmail_quote">On Wed, Dec 24, 2008 at 12:38 AM, Jayarajan Jn <span dir="ltr">&lt;<a href="mailto:jayarajan@musmo.com" target="_blank">jayarajan@musmo.com</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;">Ashwini, I have never used OpenXCAP. But it seems like the zope.interface is not properly installed. You may check this in an easy way. Open a python interpreter shell and try importing it.<br>


<br>$python <br><br>&gt;&gt;&gt;import zope.interface<br>
<br>if it works with out any error message, that means python can access zope.interface package. <br><br>can you detail about the method you have used to install zope.interface ?<br><br><br><div class="gmail_quote">On Tue, Dec 23, 2008 at 10:30 PM,  <span dir="ltr">&lt;<a href="mailto:interface-dev-request@zope.org" target="_blank">interface-dev-request@zope.org</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;">Send Interface-dev mailing list submissions to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:interface-dev@zope.org" target="_blank">interface-dev@zope.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://mail.zope.org/mailman/listinfo/interface-dev" target="_blank">http://mail.zope.org/mailman/listinfo/interface-dev</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:interface-dev-request@zope.org" target="_blank">interface-dev-request@zope.org</a><br>
<br>
You can reach the person managing the list at<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:interface-dev-owner@zope.org" target="_blank">interface-dev-owner@zope.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Interface-dev digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
 &nbsp; 1. Regarding Zope.interface ERROR (ASHWINI NAIDU)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 23 Dec 2008 14:54:14 +0530<br>
From: &quot;ASHWINI NAIDU&quot; &lt;<a href="mailto:ashwini.naidu@gmail.com" target="_blank">ashwini.naidu@gmail.com</a>&gt;<br>
Subject: [Interface-dev] Regarding Zope.interface ERROR<br>
To: <a href="mailto:interface-dev@zope.org" target="_blank">interface-dev@zope.org</a><br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:90df28ed0812230124l7322fedex7ae713e3bf2a67ef@mail.gmail.com" target="_blank">90df28ed0812230124l7322fedex7ae713e3bf2a67ef@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
hi all,<br>
 &nbsp; I am using centos5. i am trying to install openxcap on this machine. all<br>
the other dependencies have been installed. but when i run openxcap i get<br>
the following error related to zope.interface. the version of zope.interface<br>
needed for openxcap-1.0.6 is zope.interface-3.3.1<br>
<br>
Though i have installed zope.interface i get the following error<br>
<br>
2008-12-19 04:18:46-0800 [-] Log opened.<br>
2008-12-19 04:18:46-0800 [-] Starting OpenXCAP 1.0.6<br>
2008-12-19 04:18:46-0800 [-] Traceback (most recent call last):<br>
2008-12-19 04:18:46-0800 [-] &nbsp; File &quot;/usr/local/bin/openxcap&quot;, line 55, in<br>
&lt;module&gt;<br>
2008-12-19 04:18:46-0800 [-] &nbsp; &nbsp; from xcap.server import XCAPServer<br>
2008-12-19 04:18:46-0800 [-] &nbsp; File<br>
&quot;/usr/local/lib/python2.5/site-packages/xcap/server.py&quot;, line 11, in<br>
&lt;module&gt;<br>
2008-12-19 04:18:46-0800 [-] &nbsp; &nbsp; from twisted.web2 import channel, resource,<br>
http, responsecode, http_headers, server<br>
2008-12-19 04:18:46-0800 [-] &nbsp; File<br>
&quot;/usr/local/lib/python2.5/site-packages/twisted/web2/channel/__init__.py&quot;,<br>
line 7, in &lt;module&gt;<br>
2008-12-19 04:18:46-0800 [-] &nbsp; &nbsp; from twisted.web2.channel.cgi import<br>
startCGI<br>
2008-12-19 04:18:46-0800 [-] &nbsp; File<br>
&quot;/usr/local/lib/python2.5/site-packages/twisted/web2/channel/cgi.py&quot;, line<br>
4, in &lt;module&gt;<br>
2008-12-19 04:18:46-0800 [-] &nbsp; &nbsp; from zope.interface import implements<br>
2008-12-19 04:18:46-0800 [-] ImportError: No module named zope.interface<br>
<br>
after i installed zope.interface-3.3.1 this file<br>
zope.interface-0.0.0-py2.5.egg-info was installed in<br>
/usr/local/lib/python2.5/site-packages<br>
<br>
Help needed in resolving this issue. thanks in advance<br>
<br>
--<br>
Thanking You,<br>
Ashwini BR Naidu<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mail.zope.org/pipermail/interface-dev/attachments/20081223/93fd2f3b/attachment-0001.html" target="_blank">http://mail.zope.org/pipermail/interface-dev/attachments/20081223/93fd2f3b/attachment-0001.html</a><br>




<br>
------------------------------<br>
<br>
_______________________________________________<br>
Interface-dev mailing list<br>
<a href="mailto:Interface-dev@zope.org" target="_blank">Interface-dev@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/interface-dev" target="_blank">http://mail.zope.org/mailman/listinfo/interface-dev</a><br>
<br>
<br>
End of Interface-dev Digest, Vol 23, Issue 1<br>
********************************************<br>
</blockquote></div><br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Thankin You,<br>Ashwini BR Naidu<br>
</font></blockquote></div><br>