I've been trying to install Bottleneck on a Ubuntu 12.04 and Ubuntu 13.04 both 64 Bits instances on EC2 Amazon but couldn't make it work so far.
Even though the module gets installed and is recognized by python, only the following functions appear as options to be imported:
The other ones do not appear.
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'move_nanmax')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 231, in generate
for test in g():
File "/home/ubuntu/downloads/Bottleneck-0.5.0/bottleneck/tests/move_test.py", line 112, in test_move_nanmax
yield unit_maker, bn.move_nanmax, bn.slow.move_nanmax, 5
AttributeError: 'module' object has no attribute 'move_nanmax'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'partsort')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 231, in generate
for test in g():
File "/home/ubuntu/downloads/Bottleneck-0.5.0/bottleneck/tests/partsort_test.py", line 65, in test_partsort
yield unit_maker, bn.partsort, bn.slow.partsort
AttributeError: 'module' object has no attribute 'partsort'
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'argpartsort')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 231, in generate
for test in g():
File "/home/ubuntu/downloads/Bottleneck-0.5.0/bottleneck/tests/partsort_test.py", line 69, in test_argpartsort
yield unit_maker, bn.argpartsort, bn.slow.argpartsort
AttributeError: 'module' object has no attribute 'argpartsort'
----------------------------------------------------------------------
Ran 55 tests in 0.026s
FAILED (errors=55)
Out[2]: <nose.result.TextTestResult run=55 errors=55 failures=0>
I tried to install either version 0.7 and 0.5 but in both cases I had the same issue.
The output after trying to install both bottlenecks are attached to this message (in the file Bottleneck I tried to install Bottleneck 0.7.0 without the sudo command and got access denied, afterwards I ran the same command with a sudo)
Does anyone know what might be going on? I supposed there's some dependency causing the issue but I couldn't find what it could be.