[Distutils] Problem importing pylirc egg

Philippe Normand philippe at fluendo.com
Mon Apr 24 17:46:21 CEST 2006


Hi,

i've easy_installed pylirc from sourceforge as an Egg. It's correctly
compiled/installed on my system. But i can't import it, though it's
found by pkg_resources:

>>> import pylirc
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named pylirc
>>> import pkg_resources
>>> pkg_resources.require('pylirc')
[pylirc 0.0.5
(/home/phil/lib/python2.4/pylirc-0.0.5-py2.4-linux-i686.egg)]

What am i supposed to do with that Requirement object so as to get
pylirc module in my namespace ?

Philippe


More information about the Distutils-SIG mailing list