[StarCluster] A way to install .deb python packages and preventing them to re-install scipy

Mehdi Mirza memirzamo at gmail.com
Fri Nov 19 14:07:12 EST 2010


Hi,

There are some packages which is not available through easy_install and only
by apt-get like python_mdp and after installing them, system assume scipy is
not installed and try to -reinstall the scipy and will result in crashing
 the whole optimized version of scipy numpy in starcluster image.
As as an example after installing the python_mdp I get the following error
for importing scipy.ndimage:

File "./train.py", line 5, in <module>
    from scipy import stats, ndimage
  File "/usr/lib/python2.6/dist-packages/scipy/stats/__init__.py", line 7,
in <module>
    from stats import *
  File "/usr/lib/python2.6/dist-packages/scipy/stats/stats.py", line 199, in
<module>
    import scipy.linalg as linalg
  File "/usr/lib/python2.6/dist-packages/scipy/linalg/__init__.py", line 8,
in <module>
    from basic import *
  File "/usr/lib/python2.6/dist-packages/scipy/linalg/basic.py", line 17, in
<module>
    from lapack import get_lapack_funcs
  File "/usr/lib/python2.6/dist-packages/scipy/linalg/lapack.py", line 17,
in <module>
    from scipy.linalg import flapack


Thanks,
Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20101119/ff4d75ca/attachment.htm


More information about the StarCluster mailing list