[obspy-users] Problems with lxml (local install)

Leonardo Uieda leouieda at gmail.com
Wed Apr 23 17:20:53 CEST 2014


Hi Martin, that is very strange. Have you tried contacting the people at
Continuum? They're very friendly.
Good luck.

Leo


On Mon, Apr 21, 2014 at 12:56 AM, mgal <Martin.Gal at utas.edu.au> wrote:

> Hi Leo,
>
> first of all sorry for the horribly formated message, something went wrong
> with my webmail. Thanks for the idea with anaconda, sadly I can not extract
> it on the server (ERROR: could not extract tar starting at line 455), I
> tried it also with virtualenv but same result, so I probably will have to
> wait for the server admin to return from his vacation.
>
> Cheers,
> Martin
>
>
>
>
> ----- Original Message -----
> From: Leonardo Uieda <leouieda at gmail.com>
> Date: Monday, April 21, 2014 4:24
> Subject: Re: [obspy-users] Problems with lxml (local install)
> To: users at obspy.org
>
> > Hi Martin,
> > Have you tried using the Anaconda python distribution? It replaces your
> system python and doesn't require admin rights. It comes with lxml and I
> think most other obspy dependencies. Might be easier than patching lxml
> yourself.
>
> > Regards
>
> > Leo
> On Apr 20, 2014 10:41 AM, "mgal" <Martin.Gal at utas.edu.au> wrote:
>
>> > Hi Obspy team, I want to run Obspy on a machine where I do not have
>> root access and the server is behind a firewall. I am quite limited with
>> the install options and I used easy_install as pip is broken with some SSL
>> error. I can compile all dependencies but when I try to import the obspy
>> package I get the following error: Python 2.7.5 (default, Apr 17 2014,
>> 09:21:05) [GCC 4.1.2 20070115 (SUSE Linux)] on linux2 Type "help",
>> "copyright", "credits" or "license" for more information. >>> import lxml
>> >>> import obspy Traceback (most recent call last): File "<stdin>", line 1,
>> in <module> File
>> "/u/mgal/local/lib/python2.7/site-packages/obspy-0.9.0-py2.7-linux-x86_64.egg/obspy/__init__.py",
>> line 38, in <module> from obspy.station import read_inventory # NOQA File
>> "/u/mgal/local/lib/python2.7/site-packages/obspy-0.9.0-py2.7-linux-x86_64.egg/obspy/station/__init__.py",
>> line 8, in <module> from obspy.station.inventory import Inventory,
>> read_inventory File
>> "/u/mgal/local/lib/python2.7/site-packages/obspy-0.9.0-py2.7-linux-x86_64.egg/obspy/station/inventory.py",
>> line 17, in <module> from obspy.station.stationxml import SOFTWARE_MODULE,
>> SOFTWARE_URI File
>> "/u/mgal/local/lib/python2.7/site-packages/obspy-0.9.0-py2.7-linux-x86_64.egg/obspy/station/stationxml.py",
>> line 14, in <module> from lxml import etree ImportError:
>> /u/mgal/local/lib/python2.7/site-packages/lxml-3.3.5-py2.7-linux-x86_64.egg/lxml/etree.so:
>> undefined symbol: clock_gettime I tracked the error down to be a problem
>> with the recent gcc compiler. Apparently someone wrote a fix for it (
>> https://pypi.python.org/pypi/z3c.recipe.staticlxml). With my unix
>> knowledge I am not able to perform this fix as the documentation is not
>> sufficient for me. Is there any other way I could solve this issue? I am
>> only using the obspy.core.read function maybe I can install that separately
>> without the need of lxml? Than you very much, best regards, Martin
>> > _______________________________________________
>> > obspy-users mailing list
>> > obspy-users at lists.swapbytes.de
>> > http://lists.swapbytes.de/mailman/listinfo/obspy-users<http://lists.swapbytes.de/mailman/listinfo/obspy-users>
>>
> > _______________________________________________
> > obspy-users mailing list
> > obspy-users at lists.swapbytes.de
> > http://lists.swapbytes.de/mailman/listinfo/obspy-users
>
> _______________________________________________
> obspy-users mailing list
> obspy-users at lists.swapbytes.de
> http://lists.swapbytes.de/mailman/listinfo/obspy-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.swapbytes.de/pipermail/obspy-users/attachments/20140423/601b46f4/attachment.html>


More information about the obspy-users mailing list