Discussion:
mahotasbroken after upgrading ubuntu to 13.10
jip
2013-11-08 17:00:27 UTC
Permalink
Hello,
Since ubuntu was upgraded to 13.10. Importing mahotas previously build from
easy_install under ubuntu 13.04 failed.
I tried to rebuild mahotas (easy_install or from downloaded source) but
there is still an error:



















*$ ipythonPython 2.7.5+ (default, Sep 19 2013, 13:49:51) Type "copyright",
"credits" or "license" for more information.IPython 1.1.0 -- An enhanced
Interactive Python.? -> Introduction and overview of IPython's
features.%quickref -> Quick reference.help -> Python's own help
system.object? -> Details about 'object', use 'object??' for extra
details.In [1]: import mahotasCould not import submodules (exact error was:
libwebp.so.2: cannot open shared object file: No such file or
directory).There are many reasons for this error the most common one is
that you haveeither not built the packages or have built (using `python
setup.py build`) orinstalled them (using `python setup.py install`) and
then proceeded to testmahotas **without changing the current
directory**.Try installing and then changing to another directory before
importing mahotas.*

Thanks

Jean-Pat
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Luis Pedro Coelho
2013-11-09 14:59:32 UTC
Permalink
Hi,

I can guess that this means you have a semi-functional installation of
imread! If it was completely absent, then mahotas would detect this and
should work; if it was functional, then, well, it would work. But at
this semi-functional state, it screws up.

I think you can probably fix it by

sudo apt-get install libpng12-dev libtiff4-dev libwebp-dev

HTH
Luis
Post by jip
Hello,
Since ubuntu was upgraded to 13.10. Importing mahotas previously build
from easy_install under ubuntu 13.04 failed.
I tried to rebuild mahotas (easy_install or from downloaded source) but
/$ ipython
Python 2.7.5+ (default, Sep 19 2013, 13:49:51)
Type "copyright", "credits" or "license" for more information.
IPython 1.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import mahotas
Could not import submodules (exact error was: libwebp.so.2: cannot open
shared object file: No such file or directory).
There are many reasons for this error the most common one is that you have
either not built the packages or have built (using `python setup.py
build`) or
installed them (using `python setup.py install`) and then proceeded to test
mahotas **without changing the current directory**.
Try installing and then changing to another directory before importing
mahotas./
Thanks
Jean-Pat
--
You received this message because you are subscribed to the Google
Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
Luis Pedro Coelho | EMBL | http://luispedro.org

Recent stuff:
http://dx.doi.org/10.5334/jors.ac
http://bit.ly/coelho2013-video
http://bit.ly/general-subcellular-determination
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Sprindzuk Matvey
2013-11-09 15:11:36 UTC
Permalink
In my experience, Mahotas works best on Ubuntu 11.04 and Windows XP, Best
regards, MV Sprindzuk, MD, CS researcher
Post by Luis Pedro Coelho
Hi,
I can guess that this means you have a semi-functional installation of
imread! If it was completely absent, then mahotas would detect this and
should work; if it was functional, then, well, it would work. But at this
semi-functional state, it screws up.
I think you can probably fix it by
sudo apt-get install libpng12-dev libtiff4-dev libwebp-dev
HTH
Luis
Post by jip
Hello,
Since ubuntu was upgraded to 13.10. Importing mahotas previously build
from easy_install under ubuntu 13.04 failed.
I tried to rebuild mahotas (easy_install or from downloaded source) but
/$ ipython
Python 2.7.5+ (default, Sep 19 2013, 13:49:51)
Type "copyright", "credits" or "license" for more information.
IPython 1.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import mahotas
Could not import submodules (exact error was: libwebp.so.2: cannot open
shared object file: No such file or directory).
There are many reasons for this error the most common one is that you have
either not built the packages or have built (using `python setup.py
build`) or
installed them (using `python setup.py install`) and then proceeded to test
mahotas **without changing the current directory**.
Try installing and then changing to another directory before importing
mahotas./
Thanks
Jean-Pat
--
You received this message because you are subscribed to the Google
Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/groups/opt_out.
--
Luis Pedro Coelho | EMBL | http://luispedro.org
http://dx.doi.org/10.5334/jors.ac
http://bit.ly/coelho2013-video
http://bit.ly/general-subcellular-determination
--
You received this message because you are subscribed to the Google Groups
"pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
jip
2013-11-09 15:43:37 UTC
Permalink
Dear Luis,
I completly forgot imread (0.25) so I removed imread and mahotas build on
13.04. The dev librairies were installed. Now I rebuild imread and mahotas
with easy_install and let see ...

JP

By the way, mahotas always rocks on ubuntu 13.04, 12.10, ....
Post by jip
Hello,
Since ubuntu was upgraded to 13.10. Importing mahotas previously build
from easy_install under ubuntu 13.04 failed.
I tried to rebuild mahotas (easy_install or from downloaded source) but
*$ ipythonPython 2.7.5+ (default, Sep 19 2013, 13:49:51) Type "copyright",
"credits" or "license" for more information.IPython 1.1.0 -- An enhanced
Interactive Python.? -> Introduction and overview of IPython's
features.%quickref -> Quick reference.help -> Python's own help
system.object? -> Details about 'object', use 'object??' for extra
libwebp.so.2: cannot open shared object file: No such file or
directory).There are many reasons for this error the most common one is
that you haveeither not built the packages or have built (using `python
setup.py build`) orinstalled them (using `python setup.py install`) and
then proceeded to testmahotas **without changing the current
directory**.Try installing and then changing to another directory before
importing mahotas.*
Thanks
Jean-Pat
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
jip
2013-11-09 15:45:36 UTC
Permalink
Thanks a lot Luis

$ python
Python 2.7.5+ (default, Sep 19 2013, 13:49:51)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import imread
import mahotas
--
You received this message because you are subscribed to the Google Groups "pythonvision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pythonvision+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...