Installation problem


I am trying to install the new obspy on my server, but it keep on failing with this error:

Traceback (most recent call last):
File “/home/ppoli/myenv/local/lib/python2.7/site-packages/pip/”, line 122, in main
status =, args)
File “/home/ppoli/myenv/local/lib/python2.7/site-packages/pip/commands/”, line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File “/home/ppoli/myenv/local/lib/python2.7/site-packages/pip/”, line 1431, in install
File “/home/ppoli/myenv/local/lib/python2.7/site-packages/pip/”, line 598, in uninstall
File “/home/ppoli/myenv/local/lib/python2.7/site-packages/pip/”, line 1836, in remove
renames(path, new_path)
File “/home/ppoli/myenv/local/lib/python2.7/site-packages/pip/”, line 295, in renames
shutil.move(old, new)
File “/usr/lib/python2.7/”, line 300, in move
File “/usr/lib/python2.7/”, line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File “/usr/lib/python2.7/”, line 252, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File “/usr/lib/python2.7/”, line 250, in rmtree
OSError: [Errno 16] Device or resource busy: ‘/net/hypocenter/home/ppoli/myenv/lib/python2.7/site-packages/obspy/lib/.nfs00000000121768f900000c83’

Storing debug log for failure in /home/ppoli/.pip/pip.log

And these are the info of my machine:

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 4
NUMA node(s): 4
Vendor ID: GenuineIntel
CPU family: 6
Model: 45
Stepping: 7
CPU MHz: 1199.773
BogoMIPS: 4400.53
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 16384K
NUMA node0 CPU(s): 0-7,32-39
NUMA node1 CPU(s): 8-15,40-47
NUMA node2 CPU(s): 16-23,48-55
NUMA node3 CPU(s): 24-31,56-63

Any suggestions?


Hey Piero,

this is a problem of an interaction between pip and your NFS mount. Some explanation of what happens can be found here:

Stuff I can think of right now you could try to resolve this:

  1. Use conda to install obspy - it installs things in a very different fashion that might not show this behavior.

  2. Talk to your admin.

  3. Install to a non-NFS mount on your server. There should be some local hard disc you can use.



Hey Lion,

I give you my solution in case someone will have the same problem.

The issue is compiling lxml. I added a dev package to let lxml to compile and now it does install using the virtualenv.