Hi all,<br>I ' m a new bee in ldtp , and I met a problem recently:<br><br>How to link or make it match between at-spi-python and pyatspi?
<p>When I import ldtp ,an error jump out and said:</p>
<pre style="" class="lang-py prettyprint prettyprinted"><code><span class="str">">>> import ldtp
Traceback (most recent call last):
File "</span><span class="pun"><</span><span class="pln">string</span><span class="pun">></span><span class="str">", line 1, in <module>
File "</span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">local</span><span class="pun">/</span><span class="pln">lib</span><span class="pun">/</span><span class="pln">python2</span><span class="pun">.</span><span class="lit">7</span><span class="pun">/</span><span class="pln">site</span><span class="pun">-</span><span class="pln">packages</span><span class="pun">/</span><span class="pln">ldtpd</span><span class="pun">/</span><span class="pln">__init__</span><span class="pun">.</span><span class="pln">py</span><span class="str">", line 38, in <module>
from xmlrpc_daemon import XMLRPCLdtpd
File "</span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">local</span><span class="pun">/</span><span class="pln">lib</span><span class="pun">/</span><span class="pln">python2</span><span class="pun">.</span><span class="lit">7</span><span class="pun">/</span><span class="pln">site</span><span class="pun">-</span><span class="pln">packages</span><span class="pun">/</span><span class="pln">ldtpd</span><span class="pun">/</span><span class="pln">xmlrpc_daemon</span><span class="pun">.</span><span class="pln">py</span><span class="str">", line 25, in <module>
import core
File "</span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">local</span><span class="pun">/</span><span class="pln">lib</span><span class="pun">/</span><span class="pln">python2</span><span class="pun">.</span><span class="lit">7</span><span class="pun">/</span><span class="pln">site</span><span class="pun">-</span><span class="pln">packages</span><span class="pun">/</span><span class="pln">ldtpd</span><span class="pun">/</span><span class="pln">core</span><span class="pun">.</span><span class="pln">py</span><span class="str">", line 24, in <module>
from pyatspi import findDescendant, Registry
ImportError: No module named pyatspi
"</span></code></pre>
<p>I could not found any package named pyatspi via yum nor pip( using RHEL6.8 )But I have an at-spi-python installed :</p>
<pre style="" class="lang-py prettyprint prettyprinted"><code><span class="pun">[</span><span class="pln">root@dhcp</span><span class="pun">-</span><span class="lit">128</span><span class="pun">-</span><span class="lit">69</span><span class="pln"> </span><span class="typ">Downloads</span><span class="pun">]#</span><span class="pln"> yum install at</span><span class="pun">-</span><span class="pln">spi</span><span class="pun">-</span><span class="pln">python
</span><span class="typ">Loaded</span><span class="pln"> plugins</span><span class="pun">:</span><span class="pln"> product</span><span class="pun">-</span><span class="pln">id</span><span class="pun">,</span><span class="pln"> refresh</span><span class="pun">-</span><span class="pln">packagekit</span><span class="pun">,</span><span class="pln"> search</span><span class="pun">-</span><span class="pln">disabled</span><span class="pun">-</span><span class="pln">repos</span><span class="pun">,</span><span class="pln"> security</span><span class="pun">,</span><span class="pln"> subscription</span><span class="pun">-</span><span class="pln">manager
</span><span class="typ">This</span><span class="pln"> system </span><span class="kwd">is</span><span class="pln"> </span><span class="kwd">not</span><span class="pln"> registered to </span><span class="typ">Red</span><span class="pln"> </span><span class="typ">Hat</span><span class="pln"> </span><span class="typ">Subscription</span><span class="pln"> </span><span class="typ">Management</span><span class="pun">.</span><span class="pln"> </span><span class="typ">You</span><span class="pln"> can use subscription</span><span class="pun">-</span><span class="pln">manager to register</span><span class="pun">.</span><span class="pln">
</span><span class="typ">Setting</span><span class="pln"> up </span><span class="typ">Install</span><span class="pln"> </span><span class="typ">Process</span><span class="pln">
</span><span class="typ">Package</span><span class="pln"> at</span><span class="pun">-</span><span class="pln">spi</span><span class="pun">-</span><span class="pln">python</span><span class="pun">-</span><span class="lit">1.28</span><span class="pun">.</span><span class="lit">1</span><span class="pun">-</span><span class="lit">2.el6.x86</span><span class="pln">_64 already installed </span><span class="kwd">and</span><span class="pln"> latest version</span></code></pre>So what should I do to make my ldtp import pyatspi from at-spi-python?<br><br>Thank for any help .It really drove me mad.<br>