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

Justin Riley jtriley at MIT.EDU
Tue Nov 23 11:24:36 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mehdi,

Unfortunately I've never quite figured out a reliable way of marking a
debian package 'installed' without actually needing to install the deb.
This is why the MOTD has a note about not installing
numpy/scipy/atlas/openmpi from apt-get. If anyone knows of a way to do
this I'd love to know...

~Justin

On 11/19/2010 02:07 PM, Mehdi Mirza wrote:
> 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
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzr6sQACgkQ4llAkMfDcrnClgCfYE2gQjzHJm9Bd3vlBJnKbOX+
OPEAoIv0TUuq8/yJwmO0jYpPpYkqHHDN
=cMtt
-----END PGP SIGNATURE-----



More information about the StarCluster mailing list