bfosterscripps / lorem-ipsum-generator

Automatically exported from code.google.com/p/lorem-ipsum-generator
Other
0 stars 0 forks source link

File "/usr/local/bin/lorem-ipsum-generator", line 7, in ? from lipsum import MarkupGenerator, InvalidSampleError, InvalidDictionaryError #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installing Lorem Ipsum Generator, Installed with yum -nogpgcheck
2. Troubles by generating text by command-line

What is the expected output? What do you see instead?
[root@edwarddekkerhosting ~]# lorem-ipsum-generator
Traceback (most recent call last):
  File "/usr/local/bin/lorem-ipsum-generator", line 7, in ?
    from lipsum import MarkupGenerator, InvalidSampleError, InvalidDictionaryError
ImportError: No module named lipsum

What version of the product are you using? On what operating system?
CentOS 5.7

Please provide any additional information below.

Original issue reported on code.google.com by i...@edwarddekkerhosting.nl on 1 Dec 2011 at 7:02

GoogleCodeExporter commented 9 years ago
Getting exactly the same, but from .deb package on ubuntu - 
lorem-ipsum-generator 0.3-2

Original comment by pjboulo...@gmail.com on 7 Feb 2012 at 10:14

GoogleCodeExporter commented 9 years ago
I'm using Ubuntu 12 & 13 and found the deb installation doesn't quite work. It 
complains about missing module named lipsum.  As Python 2.6 is not installed, 
so the location of the installed dist-packages needs to be fixed.

So after installation run the following (as root):

    mv /usr/local/lib/python2.6/dist-packages/l /usr/local/lib/python2.7/dist-packages 

If it complains about the glade module not being available run the following:

    apt-get install python-glade2 

Then it works.

Original comment by jmcb...@gmail.com on 5 Oct 2013 at 4:54