[packman] [PM] elisa 0.5.36-0.pm.1 (openSUSE 11.1/x86_64)

Jason Power power.jg at gmail.com
Wed Apr 22 02:49:17 CEST 2009


Toni,

I installed elisa from yast and I get the error

Traceback (most recent call last):
>
File "/usr/bin/elisa", line 5, in <module>
>     from pkg_resources import load_entry_point
>   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 2561, in
> <module>
>     working_set.require(__requires__)
>   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 626, in
> require
>     needed = self.resolve(parse_requirements(requirements))
>   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 524, in
> resolve
>     raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: elisa==0.5.36


 I think the issue is that Elisa, and most of the plugins, install to
/usr/lib/python*/site-packages/ instead of /usr/lib64/python*/site-packages/
(* is 2.6 for me...)

If I add /usr/lib/python*/site-packages/ to my PYTHONPATH it gets closer to
running I then get this error.

Traceback (most recent call last):
>   File "/usr/bin/elisa", line 8, in <module>
>     load_entry_point('elisa==0.5.36', 'gui_scripts', 'elisa')()
>   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 277, in
> load_entry_point
>     return get_distribution(dist).load_entry_point(group, name)
>   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 2179, in
> load_entry_point
>     return ep.load()
>   File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 1912, in
> load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
> ImportError: No module named elisa.core.launcher


 So I'm pretty sure the issue is where the python distutils installs Elisa.

Thanks in advance,
Jason



More information about the Packman mailing list