Exception when installing mwlib and mwlib.rl

113 views
Skip to first unread message

André Fróes

unread,
May 2, 2013, 4:29:26 PM5/2/13
to mw...@googlegroups.com
Cans omeone help me with this issue? I Managed to do every step until i get to this line in this article http://mwlib.readthedocs.org/en/latest/installation.html#ubuntu-install:


pip install pyfribidi mwlib mwlib.rl

pyfribidi installs correctly, but the following 2 does not.

----------------------------

This is the exception:
andre@ubuntu:~$ pip install mwlib mwlib.rl
Downloading/unpacking mwlib
  Running setup.py egg_info for package mwlib

Downloading/unpacking mwlib.rl
  Downloading mwlib.rl-0.14.2.zip (4.1Mb): 4.1Mb downloaded
  Running setup.py egg_info for package mwlib.rl

Downloading/unpacking pyparsing>=1.4.11,<1.6 (from mwlib)
  Downloading pyparsing-1.5.6.tar.gz (unknown size): 8.1Mb downloaded
Exception:
Traceback (most recent call last):
  File "/home/andre/pp/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
    status = self.run(options, args)
  File "/home/andre/pp/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 245, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/home/andre/pp/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 985, in prepare_files
    self.unpack_url(url, location, self.is_download)
  File "/home/andre/pp/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1109, in unpack_url
    retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
  File "/home/andre/pp/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/download.py", line 456, in unpack_http_url
    unpack_file(temp_location, location, content_type, link)
  File "/home/andre/pp/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/util.py", line 494, in unpack_file
    untar_file(filename, location)
  File "/home/andre/pp/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/util.py", line 418, in untar_file
    tar = tarfile.open(filename, mode)
  File "/usr/lib/python2.7/tarfile.py", line 1678, in open
    return func(name, filemode, fileobj, **kwargs)
  File "/usr/lib/python2.7/tarfile.py", line 1729, in gzopen
    raise ReadError("not a gzip file")
ReadError: not a gzip file

Storing complete log in /home/andre/.pip/pip.log

André Fróes

unread,
May 3, 2013, 10:48:14 AM5/3/13
to mw...@googlegroups.com
no tips T_T
i even posted the full log at ubuntu forum. I'm not understanding why's it not correctly reading the py extension.
If someone wants to tail the post, here's the link: http://ubuntuforums.org/showthread.php?t=2141671

André Fróes

unread,
May 3, 2013, 4:19:21 PM5/3/13
to mw...@googlegroups.com
I found out the problem after run in several forums and etc. I had to easy_install almost everything, one of it was the pyparsing. This is how I managed to install the correct version:

easy_install http://cheeseshop.python.org/packages/source/p/pyparsing/pyparsing-1.5.5.tar.gz

After that, the gevent had problems to, and to solve that, install the gevent:

apt-get install libevent-dev
apt-get install python-all-dev
easy_install greenlet
easy_install gevent 

Em quinta-feira, 2 de maio de 2013 17h29min26s UTC-3, André Fróes escreveu:
Reply all
Reply to author
Forward
0 new messages