Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I follow the instruction here

But when I try phablet-flash -b throw the follow error:

Traceback (most recent call last):
  File "/usr/bin/phablet-flash", line 22, in <module>
    from phabletutils import arguments
  File "/usr/lib/python2.7/dist-packages/phabletutils/", line 23, in <module>
    from phabletutils import cdimage
  File "/usr/lib/python2.7/dist-packages/phabletutils/", line 25, in <module>
    from phabletutils import fileutils
  File "/usr/lib/python2.7/dist-packages/phabletutils/", line 20, in <module>
    import lzma
ImportError: No module named lzma
share|improve this question

It's a known issue we just noticed, for the time being do:

sudo apt-get install python-lzma

That'll install the missing python module.

share|improve this answer
A fixed package has now been uploaded. – stgraber Sep 4 '13 at 20:19

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.