seb@wiener:~/tmp$ virtualenv --no-site-packages --clear testnetaddr
Not deleting testnetaddr/bin
New python executable in testnetaddr/bin/python2.5
Also creating executable in testnetaddr/bin/python
Installing setuptools............done.
seb@wiener:~/tmp$ cd testnetaddr/
seb@wiener:~/tmp/testnetaddr$ ./bin/easy_install netaddr
Searching for netaddr
Reading http://pypi.python.org/simple/netaddr/
Reading http://code.google.com/p/netaddr/
Reading http://code.google.com/p/netaddr/downloads/list
Reading http://netaddr.googlecode.com/
Best match: netaddr 0.6
Downloading http://pypi.python.org/packages/2.5/n/netaddr/netaddr-0.6-py2.5.egg#md5=35ca3ddbb4e5686cfc33ba051f26879f
Processing netaddr-0.6-py2.5.egg
Moving netaddr-0.6-py2.5.egg to
/home/seb/tmp/testnetaddr/lib/python2.5/site-packages
Adding netaddr 0.6 to easy-install.pth file
Installed /home/seb/tmp/testnetaddr/lib/python2.5/site-packages/netaddr-0.6-py2.5.egg
Processing dependencies for netaddr
Finished processing dependencies for netaddr
seb@wiener:~/tmp/testnetaddr$ ./bin/python
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import netaddr
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/seb/tmp/testnetaddr/lib/python2.5/site-packages/netaddr-0.6-py2.5.egg/netaddr/__init__.py",
line 58, in <module>
File "/home/seb/tmp/testnetaddr/lib/python2.5/site-packages/netaddr-0.6-py2.5.egg/netaddr/address.py",
line 20, in <module>
File "/home/seb/tmp/testnetaddr/lib/python2.5/site-packages/netaddr-0.6-py2.5.egg/netaddr/eui/__init__.py",
line 503, in <module>
File "/home/seb/tmp/testnetaddr/lib/python2.5/site-packages/netaddr-0.6-py2.5.egg/netaddr/eui/__init__.py",
line 487, in load_ieee_indices
IOError: [Errno 20] Not a directory:
'/home/seb/tmp/testnetaddr/lib/python2.5/site-packages/netaddr-0.6-py2.5.egg/netaddr/eui/oui.idx'
>>>
Haven't got time to investige now.
--
Sebastien Douche <sdo...@gmail.com>