Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I install python-augeas on a "minimal server" Ubuntu installation of 12.04 LTS, it throws the following import error when I try to use it:

# python

Python 2.7.3 (default, Aug  1 2012, 05:14:39) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import augeas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/augeas.py", line 55, in <module>
    class Augeas(object):
  File "/usr/lib/python2.7/dist-packages/augeas.py", line 61, in Augeas
    for _v in ("%d.%d", "%d%d")])
  File "/usr/lib/python2.7/dist-packages/augeas.py", line 52, in _dlopen
    raise ImportError("Unable to import lib%s!" % args[0])
ImportError: Unable to import libpython2.7!

If I manually install libpython2.7, the problem goes away. Looking at the package info for python-augeas, there is no dependency listed for libpython2.7. Am I missing something or should this be in place? Should I file a bug report?

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.