You are not logged in.
Hi,
Don't know if this is the right forum to ask this but at least it looks like :D
I'm trying to install pyatspi[0] with no luck, I really don't now if I'm doing something wrong or it's a bug somewere.
Here are my steps
1) svn co svn://svn.gnome.org/svn/at-spi/trunk/pyatspi pyatspi
2) cd pyatspi
3) sudo python setup.py install
Here is the install trace:
running install
running build
running build_py
package init file '__init__.py' not found (or not a regular file)
creating build
creating build/lib
creating build/lib/pyatspi
copying registry.py -> build/lib/pyatspi
copying constants.py -> build/lib/pyatspi
copying utils.py -> build/lib/pyatspi
copying event.py -> build/lib/pyatspi
copying accessible.py -> build/lib/pyatspi
package init file '__init__.py' not found (or not a regular file)
running install_lib
copying build/lib/pyatspi/registry.py -> /usr/lib/python2.6/site-packages/pyatspi
copying build/lib/pyatspi/constants.py -> /usr/lib/python2.6/site-packages/pyatspi
copying build/lib/pyatspi/utils.py -> /usr/lib/python2.6/site-packages/pyatspi
copying build/lib/pyatspi/event.py -> /usr/lib/python2.6/site-packages/pyatspi
copying build/lib/pyatspi/accessible.py -> /usr/lib/python2.6/site-packages/pyatspi
byte-compiling /usr/lib/python2.6/site-packages/pyatspi/registry.py to registry.pyc
byte-compiling /usr/lib/python2.6/site-packages/pyatspi/constants.py to constants.pyc
byte-compiling /usr/lib/python2.6/site-packages/pyatspi/utils.py to utils.pyc
byte-compiling /usr/lib/python2.6/site-packages/pyatspi/event.py to event.pyc
byte-compiling /usr/lib/python2.6/site-packages/pyatspi/accessible.py to accessible.pyc
running install_egg_info
Removing /usr/lib/python2.6/site-packages/pyatspi-0.1.0-py2.6.egg-info
Writing /usr/lib/python2.6/site-packages/pyatspi-0.1.0-py2.6.egg-info
I'm using python 2.6.2 and a 64bits version of arch.
This warning is what worries me --> package init file '__init__.py' not found (or not a regular file), but i get the same when running the install process on a Kubuntu machine.
Here is my locate result
/usr/lib/python2.6/site-packages/pyatspi
/usr/lib/python2.6/site-packages/pyatspi-0.1.0-py2.6.egg-info
/usr/lib/python2.6/site-packages/pyatspi/accessible.py
/usr/lib/python2.6/site-packages/pyatspi/accessible.pyc
/usr/lib/python2.6/site-packages/pyatspi/constants.py
/usr/lib/python2.6/site-packages/pyatspi/constants.pyc
/usr/lib/python2.6/site-packages/pyatspi/event.py
/usr/lib/python2.6/site-packages/pyatspi/event.pyc
/usr/lib/python2.6/site-packages/pyatspi/registry.py
/usr/lib/python2.6/site-packages/pyatspi/registry.pyc
/usr/lib/python2.6/site-packages/pyatspi/utils.py
/usr/lib/python2.6/site-packages/pyatspi/utils.pyc
Here is the trace of the install process on a Kubuntu i686 machine
running install
running build
running build_py
package init file '__init__.py' not found (or not a regular file)
creating build
creating build/lib.linux-i686-2.6
creating build/lib.linux-i686-2.6/pyatspi
copying registry.py -> build/lib.linux-i686-2.6/pyatspi
copying event.py -> build/lib.linux-i686-2.6/pyatspi
copying constants.py -> build/lib.linux-i686-2.6/pyatspi
copying utils.py -> build/lib.linux-i686-2.6/pyatspi
copying accessible.py -> build/lib.linux-i686-2.6/pyatspi
package init file '__init__.py' not found (or not a regular file)
running install_lib
creating /usr/local/lib/python2.6/dist-packages/pyatspi
copying build/lib.linux-i686-2.6/pyatspi/registry.py -> /usr/local/lib/python2.6/dist-packages/pyatspi
copying build/lib.linux-i686-2.6/pyatspi/event.py -> /usr/local/lib/python2.6/dist-packages/pyatspi
copying build/lib.linux-i686-2.6/pyatspi/constants.py -> /usr/local/lib/python2.6/dist-packages/pyatspi
copying build/lib.linux-i686-2.6/pyatspi/utils.py -> /usr/local/lib/python2.6/dist-packages/pyatspi
copying build/lib.linux-i686-2.6/pyatspi/accessible.py -> /usr/local/lib/python2.6/dist-packages/pyatspi
byte-compiling /usr/local/lib/python2.6/dist-packages/pyatspi/registry.py to registry.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/pyatspi/event.py to event.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/pyatspi/constants.py to constants.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/pyatspi/utils.py to utils.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/pyatspi/accessible.py to accessible.pyc
running install_egg_info
Writing /usr/local/lib/python2.6/dist-packages/pyatspi-0.1.0.egg-info
and the locate result (without docs and debian-related stuff)
/usr/lib/python2.6/dist-packages/pyatspi
/usr/lib/python2.6/dist-packages/pyatspi/__init__.py
/usr/lib/python2.6/dist-packages/pyatspi/__init__.pyc
/usr/lib/python2.6/dist-packages/pyatspi/accessible.py
/usr/lib/python2.6/dist-packages/pyatspi/accessible.pyc
/usr/lib/python2.6/dist-packages/pyatspi/constants.py
/usr/lib/python2.6/dist-packages/pyatspi/constants.pyc
/usr/lib/python2.6/dist-packages/pyatspi/event.py
/usr/lib/python2.6/dist-packages/pyatspi/event.pyc
/usr/lib/python2.6/dist-packages/pyatspi/registry.py
/usr/lib/python2.6/dist-packages/pyatspi/registry.pyc
After doing the install procces I can succesfully import the module on Kubuntu, but on Arch I get a nice
$ python -c "import pyatspi"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named pyatspi
Note: If I create a __init__.py file inside /usr/lib/python2.6/dist-packages/pyatspi I can import the module, but it makes no differece because it useless.
Thanks in advance.
[0] - http://live.gnome.org/GAP/PythonATSPI
Last edited by federico (2009-09-16 05:00:17)
Offline